mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 793553 - [b2g] oninput is not fired when the content of an input field is changed. r=mounir
This commit is contained in:
parent
9bf667b781
commit
bba028c12d
@ -112,9 +112,14 @@ let FormAssistant = {
|
||||
|
||||
let json = msg.json;
|
||||
switch (msg.name) {
|
||||
case "Forms:Input:Value":
|
||||
case "Forms:Input:Value": {
|
||||
target.value = json.value;
|
||||
|
||||
let event = content.document.createEvent('HTMLEvents');
|
||||
event.initEvent('input', true, false);
|
||||
target.dispatchEvent(event);
|
||||
break;
|
||||
}
|
||||
|
||||
case "Forms:Select:Choice":
|
||||
let options = target.options;
|
||||
|
Loading…
Reference in New Issue
Block a user