Commit 967a91f2 authored by Boris Kocherov's avatar Boris Kocherov

workaround for open buggy slapos schema with absent type

parent 8fa21733
......@@ -1481,6 +1481,12 @@
options.delete_button = !options.required;
}
}
if (options.top && !options.type && !schema.type) {
// XXX use "object" as type for support buggy
// slapos schemas where some times type absent
// i need remove it in future
options.type = "object";
}
while (root.firstChild) {
root.removeChild(root.firstChild);
}
......
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