Fix bookmarks sidebar panel in non-browser windows r=Ratty a=Neil for comm-aurora and comm-beta CLOSED TREE SEAMONKEY_2_35_RELEASE_BRANCH
authorExalm <exalm7659@gmail.com>
Tue, 07 Jul 2015 02:38:46 +0800
branchSEAMONKEY_2_35_RELEASE_BRANCH
changeset 31157 c83915eb91a0c9257b2827474dfba81192aa3044
parent 31156 9dd2c5196647e62b04c22fd8a4017a72d461560f
child 31158 2c5243aeba4519a3e95494f4a9c56a5c54275ed6
push id1
push userclokep@gmail.com
push dateMon, 07 May 2018 22:45:56 +0000
treeherdercomm-esr60@57eacde5ef40 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersRatty, Neil
Fix bookmarks sidebar panel in non-browser windows r=Ratty a=Neil for comm-aurora and comm-beta CLOSED TREE
suite/common/bookmarks/bm-panel.js
--- a/suite/common/bookmarks/bm-panel.js
+++ b/suite/common/bookmarks/bm-panel.js
@@ -1,15 +1,15 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 function init() {
   document.getElementById("bookmarks-view").place =
-    "place:queryType=1&folder=" + window.top.PlacesUIUtils.allBookmarksFolderId;
+    "place:queryType=1&folder=" + PlacesUIUtils.allBookmarksFolderId;
 }
 
 function searchBookmarks(aSearchString) {
   var tree = document.getElementById('bookmarks-view');
   if (!aSearchString)
     tree.place = tree.place;
   else
     tree.applyFilter(aSearchString,