mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Extend exception to all single select:
- Multi-select you don't select the empty/none option, just nothing - Single select needs the empty/none option, even with chosen on see r44551, 44631
This commit is contained in:
parent
407f3d673e
commit
fa65814f9e
@ -599,8 +599,8 @@ var et2_selectbox = et2_inputWidget.extend(
|
||||
if(this.options.empty_label)
|
||||
{
|
||||
this.input.attr("data-placeholder", this.egw().lang(this.options.empty_label));
|
||||
// Remove from list of options, if there (exception:"select-number" type)
|
||||
if (this._type !== "select-number")
|
||||
// Remove from list of options, if multiple
|
||||
if (this.options.multiple)
|
||||
{
|
||||
this.input.children('[value=""]').remove();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user