mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
Try not to remove options value for type "select-number" becasue we need it to display rows in legacy_options
This commit is contained in:
parent
03327b4bb1
commit
a5043743a8
@ -598,8 +598,11 @@ var et2_selectbox = et2_inputWidget.extend(
|
|||||||
if(this.options.empty_label)
|
if(this.options.empty_label)
|
||||||
{
|
{
|
||||||
this.input.attr("data-placeholder", this.egw().lang(this.options.empty_label));
|
this.input.attr("data-placeholder", this.egw().lang(this.options.empty_label));
|
||||||
// Remove from list of options, if there
|
// Remove from list of options, if there (exception:"select-number" type)
|
||||||
this.input.children('[value=""]').remove();
|
if (this._type !== "select-number")
|
||||||
|
{
|
||||||
|
this.input.children('[value=""]').remove();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// Properly size chosen, even if on a hidden tab
|
// Properly size chosen, even if on a hidden tab
|
||||||
var size = egw.getHiddenDimensions(this.input);
|
var size = egw.getHiddenDimensions(this.input);
|
||||||
|
Loading…
Reference in New Issue
Block a user