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 67474 370a2d4855742e836f88d27c86358be5299fef76
parent 67473 e5f360ab151b91277608bd5b29825580e0c1d970
child 67475 6ba24eddda9e18963986a41af468ff7dd77482c5
push idunknown
push userunknown
push dateunknown
reviewersme
bugs638523
Bug 638523 (breakage fix) - We should still skip the prompt for Save Image [r=me]
mobile/chrome/content/ContextCommands.js
--- a/mobile/chrome/content/ContextCommands.js
+++ b/mobile/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() {