mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 449359 - Middle-click on empty folder in Bookmarks Toolbar or Library creates empty new tab. r=mak77+gavin
This commit is contained in:
parent
4b0b5e5530
commit
ddbe1e27c5
@ -1196,6 +1196,9 @@
|
||||
<parameter name="aLoadInBackground"/>
|
||||
<parameter name="aReplace"/>
|
||||
<body><![CDATA[
|
||||
if (!aURIs.length)
|
||||
return;
|
||||
|
||||
// The tab selected after this new tab is closed (i.e. the new tab's
|
||||
// "owner") is the next adjacent tab (i.e. not the previously viewed tab)
|
||||
// when several urls are opened here (i.e. closing the first should select
|
||||
|
@ -887,6 +887,9 @@ var PlacesUIUtils = {
|
||||
* {uri: string, isBookmark: boolean}
|
||||
*/
|
||||
_openTabset: function PU__openTabset(aItemsToOpen, aEvent) {
|
||||
if (!aItemsToOpen.length)
|
||||
return;
|
||||
|
||||
var urls = [];
|
||||
for (var i = 0; i < aItemsToOpen.length; i++) {
|
||||
var item = aItemsToOpen[i];
|
||||
|
Loading…
Reference in New Issue
Block a user