Bug 638523 (breakage fix) - We should still skip the prompt for Save Image [r=me]
authorMatt Brubeck <mbrubeck@mozilla.com>
Sat, 05 Mar 2011 12:38:33 -0800
changeset 2873 62c013ee422ca330adfbcb74d2646c7e979768d4
parent 2872 a59a3d731222341d2c2b9b44315ac50feb546dd3
child 2874 b94f83f03ff36862e32a98d445dd737979c3e9a4
push id2417
push usermbrubeck@mozilla.com
push dateSat, 05 Mar 2011 20:39:08 +0000
reviewersme
bugs638523
Bug 638523 (breakage fix) - We should still skip the prompt for Save Image [r=me]
chrome/content/ContextCommands.js
--- a/chrome/content/ContextCommands.js
+++ b/chrome/content/ContextCommands.js
@@ -56,17 +56,17 @@ var ContextCommands = {
     let browser = popupState.target;
 
     // Bug 638523
     // Using directly SaveImageURL fails here since checking the cache for a
     // remote page seems to not work (could it be nsICacheSession prohibition)?
     ContentAreaUtils.internalSave(popupState.mediaURL, null, null,
                                   popupState.contentDisposition,
                                   popupState.contentType, false, "SaveImageTitle",
-                                  null, browser.documentURI, false, null);
+                                  null, browser.documentURI, true, null);
   },
 
   shareLink: function cc_shareLink() {
     let state = ContextHelper.popupState;
     SharingUI.show(state.linkURL, state.linkTitle);
   },
 
   shareMedia: function cc_shareMedia() {