Commit 350a179d authored by Boris Kocherov's avatar Boris Kocherov

remove wrong notifyChange

parent 3eaf281b
......@@ -2066,12 +2066,14 @@
evt = arr[0],
event_object;
event_object = g.props.add_custom_data[sub_scope];
if (event_object && evt.type === "change") {
return event_object.event();
if (evt.type === "change") {
if (event_object) {
return event_object.event();
}
return g.rootNotifyChange({
path: evt.target.name
});
}
return g.rootNotifyChange({
path: evt.target.name
});
})
.declareMethod('renderForm', function (options) {
var g = this,
......
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