Commit 764720ef 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 3559b1c7
......@@ -136,16 +136,16 @@
})
.declareAcquiredMethod("notifyChange", "notifyChange")
.onEvent('change', function change() {
.onEvent('change', function change(e) {
return RSVP.all([
this.checkValidity(),
this.notifyChange()
this.notifyChange(e)
]);
}, false, false)
.onEvent('input', function input() {
.onEvent('input', function input(e) {
return RSVP.all([
this.checkValidity(),
this.notifyChange()
this.notifyChange(e)
]);
}, 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