mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 921265 - Send "HomeBanner:Data" message when first message is added. r=wesj
This commit is contained in:
parent
e343936d06
commit
deb95ea6a9
@ -101,6 +101,10 @@ let HomeBanner = {
|
||||
if (Object.keys(this._messages).length == 1) {
|
||||
Services.obs.addObserver(this, "HomeBanner:Get", false);
|
||||
Services.obs.addObserver(this, "HomeBanner:Click", false);
|
||||
|
||||
// Send a message to Java, in case there's an active HomeBanner
|
||||
// waiting for a response.
|
||||
this._handleGet();
|
||||
}
|
||||
|
||||
return message.id;
|
||||
|
Loading…
Reference in New Issue
Block a user