mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-23 07:37:29 +09:00
[Pale-Moon] Issue #1816 - Warn before opening many URI nodes in tabs
This commit is contained in:
parent
d846ef7bee
commit
8d7f0a27aa
1 changed files with 3 additions and 1 deletions
|
|
@ -759,7 +759,9 @@ this.PlacesUIUtils = {
|
||||||
if (PlacesUtils.nodeIsURI(aNodes[i]))
|
if (PlacesUtils.nodeIsURI(aNodes[i]))
|
||||||
urlsToOpen.push({uri: aNodes[i].uri, isBookmark: PlacesUtils.nodeIsBookmark(aNodes[i])});
|
urlsToOpen.push({uri: aNodes[i].uri, isBookmark: PlacesUtils.nodeIsBookmark(aNodes[i])});
|
||||||
}
|
}
|
||||||
this._openTabset(urlsToOpen, aEvent, window);
|
if (this._confirmOpenInTabs(urlsToOpen.length, window)) {
|
||||||
|
this._openTabset(urlsToOpen, aEvent, window);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue