mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 924893 - Add info for the value_selector to contextchange chrome event. r=yxl
This commit is contained in:
parent
b3f2464402
commit
e5cc329d54
@ -189,9 +189,15 @@ this.Keyboard = {
|
|||||||
|
|
||||||
let browser = Services.wm.getMostRecentWindow("navigator:browser");
|
let browser = Services.wm.getMostRecentWindow("navigator:browser");
|
||||||
|
|
||||||
|
// Chrome event, used also to render value selectors; that's why we need
|
||||||
|
// the info about choices / min / max here as well...
|
||||||
browser.shell.sendChromeEvent({
|
browser.shell.sendChromeEvent({
|
||||||
type: 'inputmethod-contextchange',
|
type: 'inputmethod-contextchange',
|
||||||
inputType: msg.data.type
|
inputType: msg.data.type,
|
||||||
|
value: msg.data.value,
|
||||||
|
choices: JSON.stringify(msg.data.choices),
|
||||||
|
min: msg.data.min,
|
||||||
|
max: msg.data.max
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user