Bug 594827 - Page not shown when trying to open from Bookmarks or History [r=mfinkle]
authorVivien Nicolas <21@vingtetun.org>
Fri, 10 Sep 2010 12:00:53 +0200
changeset 1912 1162af72b8ff186be594f9355403a232ee903664
parent 1911 4e898b286b51cb3415bf177f58031fe72a5e2776
child 1913 bf6750e6e92a5e582208f7a42894ab4c02812a36
push id1686
push uservnicolas@mozilla.com
push dateFri, 10 Sep 2010 10:04:28 +0000
reviewersmfinkle
bugs594827
Bug 594827 - Page not shown when trying to open from Bookmarks or History [r=mfinkle]
chrome/content/browser-ui.js
--- a/chrome/content/browser-ui.js
+++ b/chrome/content/browser-ui.js
@@ -1380,18 +1380,20 @@ var AwesomePanel = function(aElementId, 
     this.panel.hidden = true;
     command.removeAttribute("checked", "true");
     BrowserUI.popDialog();
   },
 
   this.openLink = function aw_openLink(aEvent) {
     let item = aEvent.originalTarget;
     let uri = item.getAttribute("url") || item.getAttribute("uri");
-    if (uri != "")
+    if (uri != "") {
       BrowserUI.goToURI(uri);
+      BrowserUI.activePanel = null;
+    }
   }
 };
 
 var BookmarkPopup = {
   get box() {
     delete this.box;
     this.box = document.getElementById("bookmark-popup");