Bug 626624 - 'Edit Bookmark' does not show correct information on second display, after dismissing VKB with system 'Back' button [r=mbrubeck]
authorMark Finkle <mfinkle@mozilla.com>
Tue, 18 Jan 2011 10:31:59 -0500
changeset 2654 05b7e50ca414a621226e296a56bdb1ee228db981
parent 2653 ec7d0eaec55b928101fa6c130c170ab7287ed9ae
child 2655 96f361bcfbdda25c182e7cdd845677c81eaa28c7
push id2227
push usermfinkle@mozilla.com
push dateTue, 18 Jan 2011 15:30:53 +0000
reviewersmbrubeck
bugs626624
Bug 626624 - 'Edit Bookmark' does not show correct information on second display, after dismissing VKB with system 'Back' button [r=mbrubeck]
chrome/content/BookmarkHelper.js
--- a/chrome/content/BookmarkHelper.js
+++ b/chrome/content/BookmarkHelper.js
@@ -33,17 +33,17 @@ var BookmarkHelper = {
 
     this.box.hidden = false;
     BrowserUI.pushPopup(this, this.box);
 
     function waitForWidget(self) {
       try {
         self._editor.startEditing();
       } catch(e) {
-        setTimeout(waitForWidget, 0, this);
+        setTimeout(waitForWidget, 0, self);
       }
     }
     setTimeout(waitForWidget, 0, this);
   },
 
   save: function BH_save() {
     this._editor.stopEditing(true);
   },