Providing reference to action proxy within init()
authorAlexander Ebert <ebert@woltlab.com>
Fri, 5 Aug 2011 12:21:05 +0000 (14:21 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 5 Aug 2011 12:21:05 +0000 (14:21 +0200)
wcfsetup/install/files/js/WCF.js

index 2304cd33ef89daa9cc8a8ea508d28ad8d088c3cf..7f1cb28805d85f9dab9bfe1f53bb05c9388e2a28 100644 (file)
@@ -510,7 +510,7 @@ WCF.Action.Proxy.prototype = {
         */
        _init: function() {
                if ($.isFunction(this.options.init)) {
-                       this.options.init();
+                       this.options.init(this);
                }
                
                $('<div id="actionProxyLoading" style="display: none;">'+WCF.Language.get('wcf.global.loading')+'</div>').appendTo($('body'));