Bug 515988: Clicking on URL bar after any search will reset awesome bar results [r=mark.finkle]

This commit is contained in:
Vivien Nicolas 2009-09-15 16:42:37 -04:00
parent b2097dfa67
commit 1a0d1224d8

View File

@ -187,7 +187,6 @@ var BrowserUI = {
return this._edit.popup.popupOpen; return this._edit.popup.popupOpen;
}, },
_toolbarLocked: 0, _toolbarLocked: 0,
lockToolbar: function lockToolbar() { lockToolbar: function lockToolbar() {
this._toolbarLocked++; this._toolbarLocked++;
@ -504,6 +503,8 @@ var BrowserUI = {
}, },
showAutoComplete : function(showDefault) { showAutoComplete : function(showDefault) {
if (this.isToolbarOpen())
return;
BrowserSearch.updateSearchButtons(); BrowserSearch.updateSearchButtons();
this._edit.showHistoryPopup(); this._edit.showHistoryPopup();
}, },