forked from extern/egroupware
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"))
|
var button = jQuery(document.createElement("span"))
|
||||||
.addClass("et2_clickable")
|
.addClass("et2_clickable")
|
||||||
.click(this, this._open_search)
|
.click(this, this._open_search)
|
||||||
|
.attr("title", egw.lang("popup with search"))
|
||||||
.append('<span class="ui-icon ui-icon-search" style="display:inline-block"/>');
|
.append('<span class="ui-icon ui-icon-search" style="display:inline-block"/>');
|
||||||
|
|
||||||
this.getSurroundings().insertDOMNode(button[0]);
|
this.getSurroundings().insertDOMNode(button[0]);
|
||||||
@ -196,6 +197,7 @@ var et2_selectAccount = et2_selectbox.extend(
|
|||||||
var button = jQuery(document.createElement("li"))
|
var button = jQuery(document.createElement("li"))
|
||||||
.addClass("et2_clickable")
|
.addClass("et2_clickable")
|
||||||
.click(this, this._open_multi_search)
|
.click(this, this._open_multi_search)
|
||||||
|
.attr("title", egw.lang("popup with search"))
|
||||||
.append('<span class="ui-icon ui-icon-search"/>')
|
.append('<span class="ui-icon ui-icon-search"/>')
|
||||||
var type = this.egw().preference('account_selection', 'common');
|
var type = this.egw().preference('account_selection', 'common');
|
||||||
|
|
||||||
|
@ -388,6 +388,7 @@ var et2_selectbox = et2_inputWidget.extend(
|
|||||||
jQuery(document.createElement("li"))
|
jQuery(document.createElement("li"))
|
||||||
.addClass("et2_clickable")
|
.addClass("et2_clickable")
|
||||||
.click(options, header_controls[key].click)
|
.click(options, header_controls[key].click)
|
||||||
|
.attr("title", header_controls[key].label)
|
||||||
.append('<span class="ui-icon ' + header_controls[key].icon_class + '"/>')
|
.append('<span class="ui-icon ' + header_controls[key].icon_class + '"/>')
|
||||||
.appendTo(controls);
|
.appendTo(controls);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user