Commit c8fb3b4f authored by Boris Kocherov's avatar Boris Kocherov Committed by Romain Courteaud

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