Dropped WCF.Action.Proxy._activeRequests
authorMagnus Kühn <magnus.khn@gmail.com>
Sun, 10 Feb 2013 18:27:51 +0000 (19:27 +0100)
committerMagnus Kühn <magnus.khn@gmail.com>
Sun, 10 Feb 2013 18:27:51 +0000 (19:27 +0100)
wcfsetup/install/files/js/WCF.js

index 30139f5b9c6892f37ee437f1f01597a744c49d8b..2fa5f64f233925e3a082c32bfe964c98bed4a5d4 100755 (executable)
@@ -1403,12 +1403,6 @@ WCF.Action = {};
  * @param      object          options
  */
 WCF.Action.Proxy = Class.extend({
-       /**
-        * count of active requests
-        * @var integer
-        */
-       _activeRequests: 0,
-       
        /**
         * suppresses errors
         * @var boolean
@@ -1471,8 +1465,6 @@ WCF.Action.Proxy = Class.extend({
                        this.options.init(this);
                }
                
-               this._activeRequests++;
-               
                if (this.options.showLoadingOverlay) {
                        WCF.LoadingOverlayHandler.show();
                }
@@ -1546,8 +1538,6 @@ WCF.Action.Proxy = Class.extend({
                        WCF.LoadingOverlayHandler.hide();
                }
                
-               this._activeRequests--;
-               
                // disable DOMNodeInserted event
                WCF.DOMNodeInsertedHandler.disable();
        },