mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-18 11:58:24 +01:00
fixed buttons in toolbar show no tooltip in Firefox (caused by title attribute on image not button)
This commit is contained in:
parent
8099b8eb4c
commit
01773135ea
@ -251,10 +251,11 @@ var et2_toolbar = et2_DOMWidget.extend(
|
|||||||
var button = $j(document.createElement('button'))
|
var button = $j(document.createElement('button'))
|
||||||
.addClass("et2_button")
|
.addClass("et2_button")
|
||||||
.attr('id', this.id+'-'+action.id)
|
.attr('id', this.id+'-'+action.id)
|
||||||
|
.attr('title', action.caption)
|
||||||
.appendTo(this.preference[action.id]?this.actionbox.children()[1]:$j('[data-group='+action.group+']',this.actionlist));
|
.appendTo(this.preference[action.id]?this.actionbox.children()[1]:$j('[data-group='+action.group+']',this.actionlist));
|
||||||
if(action.iconUrl)
|
if(action.iconUrl)
|
||||||
{
|
{
|
||||||
button.prepend("<img src='"+action.iconUrl+"' title='"+action.caption+"' class='et2_button_icon'/>");
|
button.prepend("<img src='"+action.iconUrl+"' class='et2_button_icon'/>");
|
||||||
}
|
}
|
||||||
if(action.icon)
|
if(action.icon)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user