mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-11 00:18:25 +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);
|
node.append(item);
|
||||||
if(item && options[key].icon)
|
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