Bug 602883 - Remove 'Save Link' context-menu option on awesomescreen [r=mbrubeck]
authorMark Finkle <mfinkle@mozilla.com>
Sat, 09 Oct 2010 01:35:09 -0400
changeset 66813 cd01ea394b84fe7fc7669c5be45cf3af65bcd67b
parent 66812 8ed5311f368f567524536483a52dc2e472d47f11
child 66814 afb69b8babfd7137a137e91954a7c4c252d258ac
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)
reviewersmbrubeck
bugs602883
Bug 602883 - Remove 'Save Link' context-menu option on awesomescreen [r=mbrubeck]
mobile/chrome/content/bindings.xml
--- a/mobile/chrome/content/bindings.xml
+++ b/mobile/chrome/content/bindings.xml
@@ -60,17 +60,17 @@
           let url = this.getAttribute("url");
           if (!url)
             return;
 
           let value = this.getAttribute("value");
           let data = {
             target: this,
             json: {
-              types: ["link-saveable", "link-shareable"],
+              types: ["link-shareable"],
               label: value,
               linkTitle: value,
               linkURL: url
             }
           };
           ContextHelper.showPopup(data);
         ]]>
       </handler>
@@ -489,17 +489,17 @@
       <handler event="contextmenu" phase="capturing">
         <![CDATA[
           if (!this.uri || this._isEditing)
             return;
 
           let data = {
             target: this,
             json: {
-              types: ["edit-bookmark", "link-saveable", "link-shareable"],
+              types: ["edit-bookmark", "link-shareable"],
               label: this.name,
               linkTitle: this.name,
               linkURL: this.spec
            }};
            ContextHelper.showPopup(data);
          ]]>
        </handler>
      </handlers>