diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
commit | 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch) | |
tree | a4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /browser/components/places/content/places.js | |
parent | Adding debian version 124.0.1-1. (diff) | |
download | firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/places/content/places.js')
-rw-r--r-- | browser/components/places/content/places.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/browser/components/places/content/places.js b/browser/components/places/content/places.js index b58cee70d5..685fa12b51 100644 --- a/browser/components/places/content/places.js +++ b/browser/components/places/content/places.js @@ -500,7 +500,7 @@ var PlacesOrganizer = { }; fp.init( - window, + window.browsingContext, PlacesUIUtils.promptLocalization.formatValueSync( "places-bookmarks-import" ), @@ -525,7 +525,7 @@ var PlacesOrganizer = { }; fp.init( - window, + window.browsingContext, PlacesUIUtils.promptLocalization.formatValueSync( "places-bookmarks-export" ), @@ -638,7 +638,7 @@ var PlacesOrganizer = { "places-bookmarks-restore-title", "places-bookmarks-restore-filter-name", ]); - fp.init(window, title, Ci.nsIFilePicker.modeOpen); + fp.init(window.browsingContext, title, Ci.nsIFilePicker.modeOpen); fp.appendFilter(filterName, RESTORE_FILEPICKER_FILTER_EXT); fp.appendFilters(Ci.nsIFilePicker.filterAll); fp.displayDirectory = backupsDir; @@ -711,7 +711,7 @@ var PlacesOrganizer = { "places-bookmarks-backup-title", "places-bookmarks-restore-filter-name", ]); - fp.init(window, title, Ci.nsIFilePicker.modeSave); + fp.init(window.browsingContext, title, Ci.nsIFilePicker.modeSave); fp.appendFilter(filterName, RESTORE_FILEPICKER_FILTER_EXT); fp.defaultString = PlacesBackups.getFilenameForDate(); fp.defaultExtension = "json"; |