Merge pull request #1949 from mateusz/tabs-refresh

BUG All tabs are in open state when changing the name of a folder.
This commit is contained in:
Sean Harvey 2013-05-15 19:18:06 -07:00
commit 0c6f32e752

View File

@ -643,6 +643,10 @@ jQuery.noConflict();
if(!tabset.data('tabs')) return; // don't act on uninit'ed controls
// The tabs may have changed, notify the widget that it should update its internal state.
tabset.tabs('refresh');
// Make sure the intended tab is selected.
if(forcedTab.length) {
index = forcedTab.index();
} else if(overrideStates && overrideStates[tabsetId]) {