mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 786945 - Cannot set value to <select> element, r=vingtuten
This commit is contained in:
parent
ef1cfe7ce6
commit
bb46865cb3
@ -65,19 +65,19 @@ MozKeyboard.prototype = {
|
||||
},
|
||||
|
||||
setSelectedOption: function mozKeyboardSetSelectedOption(index) {
|
||||
this._messageManager.broadcastAsyncMessage("Forms:Select:Choice", {
|
||||
this._messageManager.sendAsyncMessage("Forms:Select:Choice", {
|
||||
"index": index
|
||||
});
|
||||
},
|
||||
|
||||
setValue: function mozKeyboardSetValue(value) {
|
||||
this._messageManager.broadcastAsyncMessage("Forms:Input:Value", {
|
||||
this._messageManager.sendAsyncMessage("Forms:Input:Value", {
|
||||
"value": value
|
||||
});
|
||||
},
|
||||
|
||||
setSelectedOptions: function mozKeyboardSetSelectedOptions(indexes) {
|
||||
this._messageManager.broadcastAsyncMessage("Forms:Select:Choice", {
|
||||
this._messageManager.sendAsyncMessage("Forms:Select:Choice", {
|
||||
"indexes": indexes || []
|
||||
});
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user