Fix DOM node inserted callback in option handler
authorMatthias Schmidt <gravatronics@live.com>
Sun, 15 Jun 2014 16:53:58 +0000 (18:53 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 15 Jun 2014 16:53:58 +0000 (18:53 +0200)
wcfsetup/install/files/js/WCF.js

index 348c87a0104c23fbb688afce5dda89212c39723d..1decc4aab5b6fe5ea505c01897d73821bc928fc0 100755 (executable)
@@ -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));
        },
        
        /**