Bug 592299 - Bookmarks context menu should not appear if the current bookmark is in edit mode [r=mfinkle]
authorVivien Nicolas <21@vingtetun.org>
Tue, 31 Aug 2010 23:48:34 +0200
changeset 66519 a747b691f40e68121e59f7764d5a68d06ef9b40b
parent 66518 cf8d26e35a784ea01123241420a2c36e80ed1ddd
child 66520 3e8ec70c70ac97473fdcac1ca47f0696655c8f9a
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)
reviewersmfinkle
bugs592299
Bug 592299 - Bookmarks context menu should not appear if the current bookmark is in edit mode [r=mfinkle]
mobile/chrome/content/bindings.xml
--- a/mobile/chrome/content/bindings.xml
+++ b/mobile/chrome/content/bindings.xml
@@ -353,17 +353,17 @@
       <handler event="click" button="0">
         <![CDATA[
           if (this.control)
             this.control._fireOpen(event, this);
         ]]>
       </handler>
       <handler event="contextmenu" phase="capturing">
         <![CDATA[
-          if (!this.uri)
+          if (!this.uri || this._isEditing)
             return;
 
           let data = {
             target: this,
             json: {
               types: ["edit-bookmark"],
               label: this.uri.spec
           }};