mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-12 19:14:10 +01:00
Fix opened application tabs belong to app with status 5 don't get restored after reload
This commit is contained in:
parent
fcc5c80244
commit
81d5574fff
@ -517,7 +517,7 @@ var fw_base = (function(){ "use strict"; return Class.extend(
|
|||||||
//Set the tab closeable if there's more than one tab
|
//Set the tab closeable if there's more than one tab
|
||||||
this.tabsUi.setCloseable(this.tabsUi._isNotTheLastTab());
|
this.tabsUi.setCloseable(this.tabsUi._isNotTheLastTab());
|
||||||
// Do not show tab header if the app is with status 5, means run in background
|
// Do not show tab header if the app is with status 5, means run in background
|
||||||
if (_status == 5) _app.tab.hideTabHeader(true);
|
if (_status == 5 && !this.tabApps[_app.appName]) _app.tab.hideTabHeader(true);
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user