WIP of framework's multitab implementation

This commit is contained in:
Hadi Nategh
2020-09-23 16:55:35 +02:00
parent b5ef5126c6
commit 4bf65486ef
7 changed files with 26 additions and 10 deletions

View File

@ -697,6 +697,19 @@ var fw_base = (function(){ "use strict"; return Class.extend(
if (app)
{
if (_app == '_tab')
{
// add target flag
_link += '&target=_tab';
var appname = app.appName+":"+btoa(_link);
this.applications[appname] = app;
this.applications[appname]['appName'] = appname;
this.applications[appname]['indexUrl'] = _link;
this.applications[appname]['tab'] = null;
this.applications[appname]['browser'] = null;
this.applications[appname]['title'] = 'view';
app = this.getApplicationByName(appname);
}
this.applicationTabNavigate(app, _link);
}
else