Bug 1261685 All Bookmarks functionality broken due to Toolkit Bug 1257599 which renamed 'Unsorted Bookmarks' into 'Other Bookmarks' r=IanN a=IanN for comm-central
authorPhilip Chee <philip.chee@gmail.com>
Tue, 12 Apr 2016 22:26:30 +0800
changeset 25487 d6c9463c962396b3d854501e94bbeff3e3710386
parent 25486 d809b7f111afaa7e71e6ff77c4bc718b333d9fa2
child 25488 d1ef9793d5103145c1453ad4c2812cd3ffb4f20b
push id300
push userclokep@gmail.com
push dateMon, 01 Aug 2016 16:37:12 +0000
reviewersIanN, IanN
bugs1261685, 1257599
Bug 1261685 All Bookmarks functionality broken due to Toolkit Bug 1257599 which renamed 'Unsorted Bookmarks' into 'Other Bookmarks' r=IanN a=IanN for comm-central
suite/common/bookmarks/browser-places.js
suite/modules/PlacesUIUtils.jsm
--- a/suite/common/bookmarks/browser-places.js
+++ b/suite/common/bookmarks/browser-places.js
@@ -869,12 +869,12 @@ var BookmarksMenu = {
     if (!(aPrefix in this._popupInitialized)) {
       // First popupshowing event, initialize immutable attributes.
       this._popupInitialized[aPrefix] = true;
 
       // Need to set the label on Unsorted Bookmarks menu.
       let unsortedBookmarksElt =
         document.getElementById(aPrefix + "unsortedBookmarksFolderMenu");
       unsortedBookmarksElt.label =
-        PlacesUtils.getString("UnsortedBookmarksFolderTitle");
+        PlacesUtils.getString("OtherBookmarksFolderTitle");
     }
   },
 };
--- a/suite/modules/PlacesUIUtils.jsm
+++ b/suite/modules/PlacesUIUtils.jsm
@@ -1055,17 +1055,17 @@ var PlacesUIUtils = {
           concreteTitle: PlacesUtils.getString("BookmarksToolbarFolderTitle"),
           concreteId: PlacesUtils.toolbarFolderId },
       "BookmarksMenu":
         { title: null,
           concreteTitle: PlacesUtils.getString("BookmarksMenuFolderTitle"),
           concreteId: PlacesUtils.bookmarksMenuFolderId },
       "UnfiledBookmarks":
         { title: null,
-          concreteTitle: PlacesUtils.getString("UnsortedBookmarksFolderTitle"),
+          concreteTitle: PlacesUtils.getString("OtherBookmarksFolderTitle"),
           concreteId: PlacesUtils.unfiledBookmarksFolderId },
     };
     // All queries but PlacesRoot.
     const EXPECTED_QUERY_COUNT = 6;
 
     // Removes an item and associated annotations, ignoring eventual errors.
     function safeRemoveItem(aItemId) {
       try {