Commit d205848e authored by Boris Kocherov's avatar Boris Kocherov

erp5_web_renderjs_ui: html5_select: event option for notifyChange added. needs...

erp5_web_renderjs_ui: html5_select: event option for notifyChange added. needs for determine event.type on parent gadget
parent 606ddb5a
...@@ -136,16 +136,16 @@ ...@@ -136,16 +136,16 @@
}) })
.declareAcquiredMethod("notifyChange", "notifyChange") .declareAcquiredMethod("notifyChange", "notifyChange")
.onEvent('change', function change() { .onEvent('change', function change(e) {
return RSVP.all([ return RSVP.all([
this.checkValidity(), this.checkValidity(),
this.notifyChange() this.notifyChange(e)
]); ]);
}, false, false) }, false, false)
.onEvent('input', function input() { .onEvent('input', function input(e) {
return RSVP.all([ return RSVP.all([
this.checkValidity(), this.checkValidity(),
this.notifyChange() this.notifyChange(e)
]); ]);
}, false, false) }, false, false)
......
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