mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
When turning on tag mode, remove empty label from options.
This commit is contained in:
parent
8e69433829
commit
26888ce64c
@ -598,6 +598,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
|
||||
this.input.children('[value=""]').remove();
|
||||
}
|
||||
// Properly size chosen, even if on a hidden tab
|
||||
var size = egw.getHiddenDimensions(this.input);
|
||||
|
Loading…
Reference in New Issue
Block a user