Commit 848e3029 authored by Boris Kocherov's avatar Boris Kocherov

register array after rendering

parent a6f2c1ff
...@@ -676,6 +676,7 @@ ...@@ -676,6 +676,7 @@
// XXX update on every add/delete item // XXX update on every add/delete item
// input.hidden = maxItems !== undefined && json_document.length >= maxItems; // input.hidden = maxItems !== undefined && json_document.length >= maxItems;
div_input.appendChild(input); div_input.appendChild(input);
gadget.props.arrays[path] = div_input;
}); });
} }
...@@ -870,7 +871,6 @@ ...@@ -870,7 +871,6 @@
first_path + '/', first_path + '/',
schema_path schema_path
); );
gadget.props.arrays[first_path + '/'] = div;
} }
if (!input && type === "object") { if (!input && type === "object") {
......
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