From 2defb9a7046587cd61faa5e5964ec227dec79d37 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 19 Apr 2021 16:12:58 +0200 Subject: [PATCH] Fix framework app tab loses its hint content after reload --- api/js/framework/fw_base.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/api/js/framework/fw_base.js b/api/js/framework/fw_base.js index 1d7d746fde..6f5f7437ae 100644 --- a/api/js/framework/fw_base.js +++ b/api/js/framework/fw_base.js @@ -131,7 +131,10 @@ var fw_base = (function(){ "use strict"; return Class.extend( this.appData = new egw_fw_class_application(this, app.name, app.title, app.icon, app.url, app.sideboxwidth, 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 if (!app.noNavbar && (app.status != 5 || app.isFrameworkTab)) { @@ -751,7 +754,9 @@ var fw_base = (function(){ "use strict"; return Class.extend( url: _link, internalName: app.appName, active: true, - isFrameworkTab: true + isFrameworkTab: true, + hinthint: _extra.hint, + refreshCallback: _extra.refreshCallback })); this._setTabAppsSession(this.tabApps);