forked from extern/egroupware
If account selectbox can expand (has + button) and user's preference includes a search popup, automatically expend when they open the popup.
This commit is contained in:
parent
47c1839b01
commit
59fbccdfcb
@ -131,6 +131,12 @@ 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, jQuery.proxy(function(e) {
|
.click(this, jQuery.proxy(function(e) {
|
||||||
|
// Auto-expand
|
||||||
|
if(this.options.expand_multiple_rows && !this.options.multiple)
|
||||||
|
{
|
||||||
|
this.set_multiple(true, this.options.expand_multiple_rows);
|
||||||
|
}
|
||||||
|
|
||||||
if(this.options.multiple)
|
if(this.options.multiple)
|
||||||
{
|
{
|
||||||
this._open_multi_search(e);
|
this._open_multi_search(e);
|
||||||
|
Loading…
Reference in New Issue
Block a user