Commit 9cec5e6f authored by Boris Kocherov's avatar Boris Kocherov

fix - run notify change only after render

parent 186c60f4
......@@ -581,9 +581,6 @@
.push(function (value) {
return event(schema_alternatives[value[scope]].value);
})
.push(function () {
return gadget.rootNotifyChange();
})
.push(function () {
if (rerender) {
return rerender(g, schema_alternatives);
......@@ -592,6 +589,9 @@
})
.push(function (render_options) {
return g.render(render_options);
})
.push(function () {
return gadget.rootNotifyChange();
});
},
rerender: function () {
......
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