mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 710804 - Use postMessage instead of an event for asking the homescreen to close an app r=fabrice DONTBUILD since this is b2g/ only
This commit is contained in:
parent
1796ee0347
commit
ea29ad2222
@ -180,7 +180,7 @@ var shell = {
|
||||
doCommand: function shell_doCommand(cmd) {
|
||||
switch (cmd) {
|
||||
case 'cmd_close':
|
||||
this.sendEvent(this.home.contentWindow, 'appclose');
|
||||
this.home.contentWindow.postMessage('appclose', '*');
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user