mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
Add tooltips to popup header buttons
This commit is contained in:
parent
656560c376
commit
d7375a2321
@ -117,6 +117,7 @@ var et2_selectAccount = et2_selectbox.extend(
|
||||
var button = jQuery(document.createElement("span"))
|
||||
.addClass("et2_clickable")
|
||||
.click(this, this._open_search)
|
||||
.attr("title", egw.lang("popup with search"))
|
||||
.append('<span class="ui-icon ui-icon-search" style="display:inline-block"/>');
|
||||
|
||||
this.getSurroundings().insertDOMNode(button[0]);
|
||||
@ -196,6 +197,7 @@ var et2_selectAccount = et2_selectbox.extend(
|
||||
var button = jQuery(document.createElement("li"))
|
||||
.addClass("et2_clickable")
|
||||
.click(this, this._open_multi_search)
|
||||
.attr("title", egw.lang("popup with search"))
|
||||
.append('<span class="ui-icon ui-icon-search"/>')
|
||||
var type = this.egw().preference('account_selection', 'common');
|
||||
|
||||
|
@ -388,6 +388,7 @@ var et2_selectbox = et2_inputWidget.extend(
|
||||
jQuery(document.createElement("li"))
|
||||
.addClass("et2_clickable")
|
||||
.click(options, header_controls[key].click)
|
||||
.attr("title", header_controls[key].label)
|
||||
.append('<span class="ui-icon ' + header_controls[key].icon_class + '"/>')
|
||||
.appendTo(controls);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user