Fixes bug when creating a new Dataset Template. (Issue #194)
This commit is contained in:
parent
32a76346ea
commit
cc2bb9afd2
|
@ -42,7 +42,8 @@ public class AutoCompleteData extends ComboBoxData<AutoCompleteData> {
|
||||||
|
|
||||||
root.setAttribute("url", this.url);
|
root.setAttribute("url", this.url);
|
||||||
root.setAttribute("optionsRoot", this.optionsRoot);
|
root.setAttribute("optionsRoot", this.optionsRoot);
|
||||||
root.setAttribute("multiAutoComplete", this.multiAutoComplete.toString());
|
if (this.multiAutoComplete != null)
|
||||||
|
root.setAttribute("multiAutoComplete", this.multiAutoComplete.toString());
|
||||||
Element element = doc.createElement("option");
|
Element element = doc.createElement("option");
|
||||||
element.setAttribute("label", this.autoCompleteOptions.getLabel());
|
element.setAttribute("label", this.autoCompleteOptions.getLabel());
|
||||||
element.setAttribute("value", autoCompleteOptions.getValue());
|
element.setAttribute("value", autoCompleteOptions.getValue());
|
||||||
|
|
Loading…
Reference in New Issue