Fixes issue with extending WCF.Action.Toggle
authorMatthias Schmidt <gravatronics@live.com>
Sun, 22 Dec 2013 10:01:30 +0000 (11:01 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 22 Dec 2013 10:01:30 +0000 (11:01 +0100)
wcfsetup/install/files/js/WCF.js

index 79f8ecfd5ffb4113c2cf57dbd8a59c3b9f2c38aa..5c8a0c33d9fb1534fe6b88e0a8ab8633ac4af208 100755 (executable)
@@ -2428,6 +2428,7 @@ WCF.Action.Toggle = Class.extend({
                this._containerSelector = containerSelector;
                this._className = className;
                this._buttonSelector = (buttonSelector) ? buttonSelector : '.jsToggleButton';
+               this._containers = [ ];
                
                // initialize proxy
                var options = {