From: Matthias Schmidt Date: Sun, 15 Jun 2014 16:53:58 +0000 (+0200) Subject: Fix DOM node inserted callback in option handler X-Git-Tag: 2.1.0_Alpha_1~697 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9c3597c77b1654d67a4fb6acee5d3b34fa6388bb;p=GitHub%2FWoltLab%2FWCF.git Fix DOM node inserted callback in option handler --- diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 348c87a010..1decc4aab5 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -5493,7 +5493,7 @@ WCF.Option.Handler = Class.extend({ init: function() { this._initOptions(); - WCF.DOMNodeInsertedHandler.addCallback('WCF.Option.Handler', $.proxy(this._initOptions)); + WCF.DOMNodeInsertedHandler.addCallback('WCF.Option.Handler', $.proxy(this._initOptions, this)); }, /**