mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
Do not create application object if already exists simply open the tab
This commit is contained in:
parent
a8c136f1cc
commit
c2ca23a071
@ -681,6 +681,12 @@ var fw_base = (function(){ "use strict"; return Class.extend(
|
||||
if (app)
|
||||
{
|
||||
var appname = app.appName+"-"+(_extra.id ? _extra.id : btoa(_link));
|
||||
this.applications[appname] = this.getApplicationByName(appname);
|
||||
if (this.applications[appname])
|
||||
{
|
||||
this.setActiveApp(this.applications[appname]);
|
||||
return;
|
||||
}
|
||||
var self = this;
|
||||
// add target flag
|
||||
_link += '&fw_target='+appname;
|
||||
|
Loading…
Reference in New Issue
Block a user