mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:29 +01:00
Set select_options for <listbox> widget type of "select-account" with egw->accounts client-side method
This commit is contained in:
parent
1c8c4032dc
commit
334c66d203
@ -507,6 +507,10 @@ var et2_selectbox = et2_inputWidget.extend(
|
||||
"title": et2_readAttrWithDefault(options[i], "title", "")
|
||||
};
|
||||
}
|
||||
if (this.options.type == 'select-account')
|
||||
{
|
||||
jQuery.extend(this.options.select_options, this.egw().accounts(this.options.account_type));
|
||||
}
|
||||
this.set_select_options(this.options.select_options);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user