Do not create application object if already exists simply open the tab

This commit is contained in:
Hadi Nategh 2020-10-20 17:28:14 +02:00
parent a8c136f1cc
commit c2ca23a071

View File

@ -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;