mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
Make sure to open correct dialog, even if multiple option gets changed after creation.
This commit is contained in:
parent
c8478e0635
commit
b136d22c3a
@ -130,7 +130,16 @@ var et2_selectAccount = et2_selectbox.extend(
|
||||
{
|
||||
var button = jQuery(document.createElement("span"))
|
||||
.addClass("et2_clickable")
|
||||
.click(this, this.options.multiple ? this._open_multi_search : this._open_search)
|
||||
.click(this, jQuery.proxy(function(e) {
|
||||
if(this.options.multiple)
|
||||
{
|
||||
this._open_multi_search(e);
|
||||
}
|
||||
else
|
||||
{
|
||||
this._open_search(e);
|
||||
}
|
||||
},this))
|
||||
.attr("title", egw.lang("popup with search"))
|
||||
.append('<span class="ui-icon ui-icon-search" style="display:inline-block"/>');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user