Bug 627146 - Bookmark panel doesn't open in the correct direction in rtl; (Bv1) Remove the comment too.
authorSerge Gautherie <sgautherie.bz@free.fr>
Wed, 09 Feb 2011 21:18:48 +0100
changeset 62251 37e773ecc66f6a75b0e230149a5fb33297a4963b
parent 62250 e79e4e9768e6a9650ff6e88be1fd37675513844f
child 62252 d4ebf3b5162f753e3bb7fd0a81e0406dcb8ad83b
push idunknown
push userunknown
push dateunknown
bugs627146
milestone2.0b12pre
Bug 627146 - Bookmark panel doesn't open in the correct direction in rtl; (Bv1) Remove the comment too. r=enndeakin (a=comment-only). DONTBUILD
browser/base/content/browser-places.js
--- a/browser/base/content/browser-places.js
+++ b/browser/base/content/browser-places.js
@@ -341,18 +341,16 @@ var PlacesCommandHook = {
     if (gURLBar)
       gURLBar.handleRevert();
 
     // dock the panel to the star icon when possible, otherwise dock
     // it to the content area
     if (aBrowser.contentWindow == window.content) {
       var starIcon = aBrowser.ownerDocument.getElementById("star-button");
       if (starIcon && isElementVisible(starIcon)) {
-        // Make sure the bookmark properties dialog hangs toward the middle of
-        // the location bar in RTL builds
         if (aShowEditUI)
           StarUI.showEditBookmarkPopup(itemId, starIcon, "bottomcenter topright");
         return;
       }
     }
 
     StarUI.showEditBookmarkPopup(itemId, aBrowser, "overlap");
   },