mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 965455 - Set parent id when adding a new tab from snippet. r=wesj
This commit is contained in:
parent
9aae0825f0
commit
2918ef0230
@ -178,7 +178,8 @@ function updateBanner(response) {
|
||||
text: message.text,
|
||||
icon: message.icon,
|
||||
onclick: function() {
|
||||
gChromeWin.BrowserApp.addTab(message.url);
|
||||
let parentId = gChromeWin.BrowserApp.selectedTab.id;
|
||||
gChromeWin.BrowserApp.addTab(message.url, { parentId: parentId });
|
||||
},
|
||||
onshown: function() {
|
||||
// 10% of the time, record the snippet id and a timestamp
|
||||
|
Loading…
Reference in New Issue
Block a user