mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +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
70e8a1b3ae
commit
6525361145
@ -588,8 +588,16 @@
|
|||||||
// otherwise the first app in the list
|
// otherwise the first app in the list
|
||||||
if (activeApp =="" || !activeApp)
|
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.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.
|
//Set the current state of the tabs and activate TabChangeNotification.
|
||||||
|
Loading…
Reference in New Issue
Block a user