forked from extern/egroupware
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)
|
if (app)
|
||||||
{
|
{
|
||||||
var appname = app.appName+"-"+(_extra.id ? _extra.id : btoa(_link));
|
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;
|
var self = this;
|
||||||
// add target flag
|
// add target flag
|
||||||
_link += '&fw_target='+appname;
|
_link += '&fw_target='+appname;
|
||||||
|
Loading…
Reference in New Issue
Block a user