From: Matthias Schmidt Date: Fri, 18 Jan 2013 15:44:27 +0000 (+0100) Subject: Adds function to reload tab menus X-Git-Tag: 2.0.0_Beta_1~554 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1eda8a9734a43c71f70b99aa2627da3eec4d12c1;p=GitHub%2FWoltLab%2FWCF.git Adds function to reload tab menus --- diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 7292161c0c..34f1ee58c0 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -3012,6 +3012,14 @@ WCF.TabMenu = { this._didInit = true; }, + /** + * Reloads the tab menus. + */ + reload: function() { + this._containers = { }; + this.init(); + }, + /** * Force display of first erroneous tab, returns true, if at * least one tab contains an error.