Commit 5fc8d75f authored by Boris Kocherov's avatar Boris Kocherov

html5_select: event option for notifyChange added. needs for determine event.type on parent gadget

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