From 15f0900c03a5924e62d3f24a8c3c1c4919026133 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 22 Jun 2018 16:00:38 +0200 Subject: [PATCH] Consider app name when trying to fetch icon for taglist --- api/js/etemplate/et2_widget_taglist.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/js/etemplate/et2_widget_taglist.js b/api/js/etemplate/et2_widget_taglist.js index b3c9d067de..2c824b2a87 100644 --- a/api/js/etemplate/et2_widget_taglist.js +++ b/api/js/etemplate/et2_widget_taglist.js @@ -553,7 +553,7 @@ var et2_taglist = (function(){ "use strict"; return et2_selectbox.extend([et2_IR var wrapper = jQuery('
').addClass('et2_taglist_tags_icon_wrapper'); jQuery('') .addClass('et2_taglist_tags_icon') - .css({"background-image": "url("+(item.icon.match(/^(http|https|\/)/) ? item.icon : egw.image(item.icon))+")"}) + .css({"background-image": "url("+(item.icon.match(/^(http|https|\/)/) ? item.icon : egw.image(item.icon, item.app))+")"}) .appendTo(wrapper); label.appendTo(wrapper); return wrapper; @@ -1239,7 +1239,7 @@ var et2_taglist_email = (function(){ "use strict"; return et2_taglist.extend( var wrapper = jQuery('
').addClass('et2_taglist_tags_icon_wrapper'); jQuery('') .addClass('et2_taglist_tags_icon') - .css({"background-image": "url("+(item.icon.match(/^(http|https|\/)/) ? item.icon : egw.image(item.icon))+")"}) + .css({"background-image": "url("+(item.icon.match(/^(http|https|\/)/) ? item.icon : egw.image(item.icon, item.app))+")"}) .appendTo(wrapper); label.appendTo(wrapper); return wrapper;