Commit dcf12f01 authored by Boris Kocherov's avatar Boris Kocherov Committed by Vincent Bechu

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 eccd5db2
......@@ -125,16 +125,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