Added updateButtonState event
authorMarcel Werk <burntime@woltlab.com>
Tue, 14 Mar 2017 17:16:05 +0000 (18:16 +0100)
committerMarcel Werk <burntime@woltlab.com>
Tue, 14 Mar 2017 17:16:12 +0000 (18:16 +0100)
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Page/Menu/Abstract.js

index 34841955b5726ebf14a000409fb67513328c44ca..8b9b65081cdbf8fe2f5135580283a239e1f33cd8 100644 (file)
@@ -57,6 +57,7 @@ define(['Core', 'Environment', 'EventHandler', 'Language', 'ObjectMap', 'Dom/Tra
                        
                        EventHandler.add(this._eventIdentifier, 'open', callbackOpen);
                        EventHandler.add(this._eventIdentifier, 'close', this.close.bind(this));
+                       EventHandler.add(this._eventIdentifier, 'updateButtonState', this._updateButtonState.bind(this));
                        
                        var itemList, itemLists = elByClass('menuOverlayItemList', this._menu);
                        this._menu.addEventListener('animationend', (function() {