summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--components/places/PlacesUIUtils.jsm4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/places/PlacesUIUtils.jsm b/components/places/PlacesUIUtils.jsm
index 035fc12..4d55b6f 100644
--- a/components/places/PlacesUIUtils.jsm
+++ b/components/places/PlacesUIUtils.jsm
@@ -1018,7 +1018,9 @@ this.PlacesUIUtils = {
if (PlacesUtils.nodeIsURI(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);
+ }
},
/**