mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix broken priority icons in mail compose
This commit is contained in:
parent
18dabbd7f5
commit
94519b0174
@ -356,7 +356,7 @@ var et2_dropdown_button = (function(){ "use strict"; return et2_inputWidget.exte
|
|||||||
if(item && options[key].icon)
|
if(item && options[key].icon)
|
||||||
{
|
{
|
||||||
// we supply a applicable class for item images
|
// we supply a applicable class for item images
|
||||||
jQuery('a',item).prepend('<img class="et2_button_icon" src="' + egw.image(options[key].icon) +'"/>');
|
jQuery('a',item).prepend('<img class="et2_button_icon" src="' + (options[key].icon.match(/^(http|https|\/)/) ? options[key].icon : egw.image(options[key].icon)) +'"/>');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user