mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Do not set active app on an app with status 5 (run in background) for mobile framework
This commit is contained in:
parent
7b6b72ea6b
commit
06386b2880
@ -588,8 +588,16 @@
|
||||
// otherwise the first app in the list
|
||||
if (activeApp =="" || !activeApp)
|
||||
{
|
||||
for(var i in this.applications)
|
||||
{
|
||||
if (restore[i]['status'] != 5)
|
||||
{
|
||||
activeApp = this.applications[i];
|
||||
break;
|
||||
}
|
||||
}
|
||||
this.setActiveApp(typeof this.applications.home !='undefined'?
|
||||
this.applications.home:this.applications[Object.keys(this.applications)[0]]);
|
||||
this.applications.home:activeApp);
|
||||
}
|
||||
|
||||
//Set the current state of the tabs and activate TabChangeNotification.
|
||||
|
Loading…
Reference in New Issue
Block a user