From 1eda8a9734a43c71f70b99aa2627da3eec4d12c1 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 18 Jan 2013 16:44:27 +0100 Subject: [PATCH] Adds function to reload tab menus --- wcfsetup/install/files/js/WCF.js | 8 ++++++++ 1 file changed, 8 insertions(+) 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. -- 2.20.1