Bug 594827 - Page not shown when trying to open from Bookmarks or History [r=mfinkle]
--- 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");