Fixed dropdowns staying if a secondary is being opened
authorAlexander Ebert <ebert@woltlab.com>
Thu, 11 Dec 2014 16:06:54 +0000 (17:06 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 11 Dec 2014 16:06:54 +0000 (17:06 +0100)
wcfsetup/install/files/js/WCF.js

index b3c408c65aa80346e8140bbf6da269dba30b42d0..59b27a1b9bb86959b80547ac6740e2db24182fd5 100755 (executable)
@@ -1509,6 +1509,8 @@ WCF.Dropdown.Interactive.Instance = Class.extend({
                        return false;
                }
                else {
+                       WCF.Dropdown.Interactive.Handler.closeAll();
+                       
                        this.open();
                        
                        return true;