forked from extern/egroupware
Fix framework app tab loses its hint content after reload
This commit is contained in:
parent
85feb685f3
commit
2defb9a704
@ -131,7 +131,10 @@ var fw_base = (function(){ "use strict"; return Class.extend(
|
|||||||
this.appData = new egw_fw_class_application(this,
|
this.appData = new egw_fw_class_application(this,
|
||||||
app.name, app.title, app.icon, app.url, app.sideboxwidth,
|
app.name, app.title, app.icon, app.url, app.sideboxwidth,
|
||||||
baseUrl, internalName);
|
baseUrl, internalName);
|
||||||
if (app.isFrameworkTab) this.appData['isFrameworkTab'] = true;
|
if (app.isFrameworkTab)
|
||||||
|
{
|
||||||
|
jQuery.extend(this.appData, app);
|
||||||
|
}
|
||||||
//Create a sidebox menu entry for each application
|
//Create a sidebox menu entry for each application
|
||||||
if (!app.noNavbar && (app.status != 5 || app.isFrameworkTab))
|
if (!app.noNavbar && (app.status != 5 || app.isFrameworkTab))
|
||||||
{
|
{
|
||||||
@ -751,7 +754,9 @@ var fw_base = (function(){ "use strict"; return Class.extend(
|
|||||||
url: _link,
|
url: _link,
|
||||||
internalName: app.appName,
|
internalName: app.appName,
|
||||||
active: true,
|
active: true,
|
||||||
isFrameworkTab: true
|
isFrameworkTab: true,
|
||||||
|
hinthint: _extra.hint,
|
||||||
|
refreshCallback: _extra.refreshCallback
|
||||||
}));
|
}));
|
||||||
|
|
||||||
this._setTabAppsSession(this.tabApps);
|
this._setTabAppsSession(this.tabApps);
|
||||||
|
Loading…
Reference in New Issue
Block a user