Commit da053068 authored by Boris Kocherov's avatar Boris Kocherov

insert additionalProperty before selector

parent 353f772d
......@@ -398,7 +398,8 @@
function element_append(child) {
if (child) {
div_input.appendChild(child);
// insert additionalProperty before selector
selector.element.parentNode.insertBefore(child, selector.element);
}
}
......@@ -486,7 +487,10 @@
return g.declareGadget("gadget_html5_select.html", {scope: scope});
})
.push(selector.rerender)
.push(root_append);
.push(function (element) {
selector.element = element;
return root_append(element);
});
if (json_field.patternProperties !== undefined) {
if (json_field.patternProperties['.*'] !== undefined) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment