mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Add action hint as tooltip in toolbar actions. If there is no hint, use action caption as tooltip
This commit is contained in:
parent
f073db1f63
commit
5aa51c2396
@ -268,7 +268,7 @@ var et2_toolbar = et2_DOMWidget.extend(
|
|||||||
var button = $j(document.createElement('button'))
|
var button = $j(document.createElement('button'))
|
||||||
.addClass("et2_button et2_button_text et2_button_with_image")
|
.addClass("et2_button et2_button_text et2_button_with_image")
|
||||||
.attr('id', this.id+'-'+action.id)
|
.attr('id', this.id+'-'+action.id)
|
||||||
.attr('title', action.caption)
|
.attr('title', (action.hint ? action.hint : 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)
|
||||||
|
Loading…
Reference in New Issue
Block a user