From a25f8ece13bb57445a7341d795081791c87351bb Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 11 Dec 2018 17:02:13 +0100 Subject: [PATCH] W.I.P. of modern theme with SVG icons enabled: - add application specific id to tabs --- api/js/framework/fw_ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/framework/fw_ui.js b/api/js/framework/fw_ui.js index 402d607692..1c6f1254c0 100644 --- a/api/js/framework/fw_ui.js +++ b/api/js/framework/fw_ui.js @@ -309,7 +309,7 @@ function egw_fw_ui_tab(_parent, _contHeaderDiv, _contDiv, _icon, _callback, //Create the header div and set its "click" function and "hover" event this.headerDiv = document.createElement("span"); this.headerDiv._position = _pos; - jQuery(this.headerDiv).addClass("egw_fw_ui_tab_header"); + jQuery(this.headerDiv).attr('id', this.tag.appName+'-egw_fw_ui_tab_header').addClass("egw_fw_ui_tab_header"); //Create a new callback object and attach it to the header div this.headerDiv._callbackObject = new egw_fw_class_callback(this, _callback);