Commit 13abbb34 authored by Boris Kocherov's avatar Boris Kocherov

changed flag clean in rerender

parent 6ab12aae
......@@ -2034,7 +2034,6 @@
var g = this,
property_name = g.element.getAttribute('data-json-property-name'),
schema = options.schema_arr !== undefined && options.schema_arr[0].schema;
g.props.changed = false;
g.props.saveOrigValue = options.saveOrigValue;
g.props.path = options.path; // self gadget scope
if (!property_name || !options.display_label) {
......@@ -2073,6 +2072,7 @@
var g = this,
for_delete,
root = g.element.querySelector('[data-json-path="/"]');
g.props.changed = false;
g.props.inputs = [];
g.props.add_buttons = [];
g.props.add_custom_data = {};
......
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