forked from extern/egroupware
No need to translate empty_label explicitly, as we have a "translate" sub-attribute to triger translation for an attribute
This commit is contained in:
parent
a8278017ed
commit
c35968d4a6
@ -33,7 +33,8 @@ var et2_taglist = et2_selectbox.extend(
|
|||||||
"name": "Empty label",
|
"name": "Empty label",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "Textual label for when nothing is selected"
|
"description": "Textual label for when nothing is selected",
|
||||||
|
translate: true
|
||||||
},
|
},
|
||||||
"select_options": {
|
"select_options": {
|
||||||
"type": "any",
|
"type": "any",
|
||||||
@ -153,7 +154,7 @@ var et2_taglist = et2_selectbox.extend(
|
|||||||
method: 'GET',
|
method: 'GET',
|
||||||
displayField: "label",
|
displayField: "label",
|
||||||
invalidCls: 'invalid ui-state-error',
|
invalidCls: 'invalid ui-state-error',
|
||||||
emptyText: this.egw().lang(this.options.empty_label),
|
emptyText: this.options.empty_label,
|
||||||
hideTrigger: true,
|
hideTrigger: true,
|
||||||
noSuggestionText: this.egw().lang("No suggestions"),
|
noSuggestionText: this.egw().lang("No suggestions"),
|
||||||
required: this.options.required,
|
required: this.options.required,
|
||||||
|
Loading…
Reference in New Issue
Block a user