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

remove wrong notifyChange

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