mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +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'))
|
||||
.addClass("et2_button et2_button_text et2_button_with_image")
|
||||
.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));
|
||||
|
||||
if ( action.iconUrl)
|
||||
|
Loading…
Reference in New Issue
Block a user