Bug 602434 - urlbar disappears when opening the edit bookmarks dialog and the softkb popping up [r=vingtetun]
authorWesley Johnston <wjohnston@mozilla.com>
Thu, 14 Oct 2010 19:26:58 +0200
changeset 66835 53c39785522304d30d8e1564bc984e60549abce0
parent 66834 43a96c377053f5cf98a80c4c51879ee082e38a35
child 66836 e5b8400187b04b8e7ab3d81c50abe55bac932481
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvingtetun
bugs602434
Bug 602434 - urlbar disappears when opening the edit bookmarks dialog and the softkb popping up [r=vingtetun]
mobile/chrome/content/browser-ui.js
--- a/mobile/chrome/content/browser-ui.js
+++ b/mobile/chrome/content/browser-ui.js
@@ -1603,25 +1603,27 @@ var BookmarkHelper = {
     let top = toolbar.top + toolbar.boxObject.height;
 
     this._panel = document.getElementById("bookmark-container");
     this._panel.top = (top < 0 ? 0 : top);
     this._panel.hidden = false;
     BrowserUI.pushPopup(this, this._panel);
 
     let self = this;
+    BrowserUI.lockToolbar();
     Browser.forceChromeReflow();
     self._editor.startEditing();
   },
 
   save: function BH_save() {
     this._editor.stopEditing(true);
   },
 
   hide: function BH_hide() {
+    BrowserUI.unlockToolbar();
     BrowserUI.updateStar();
 
     // Note: the _editor will have already saved the data, if needed, by the time
     // this method is called, since this method is called via the "close" event.
     this._editor.parentNode.removeChild(this._editor);
     this._editor = null;
 
     this._panel.hidden = true;