mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
set action.caption as tooltip, and provide an applicable class for item images
This commit is contained in:
parent
d961343939
commit
78e3371a2b
@ -356,7 +356,8 @@ var et2_dropdown_button = et2_inputWidget.extend(
|
||||
node.append(item);
|
||||
if(item && options[key].icon)
|
||||
{
|
||||
$j('a',item).prepend('<img src="' + options[key].icon +'"/>');
|
||||
// we supply a applicable class for item images
|
||||
$j('a',item).prepend('<img class="et2_button_icon" src="' + options[key].icon +'"/>');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user