Skip to content
Snippets Groups Projects
Commit dc7800f1 authored by cypherpunks1's avatar cypherpunks1 Committed by Pier Angelo Vendrame
Browse files

Bug 33955: When copying an image only copy the image contents to the clipboard

parent 66c42a70
No related branches found
No related tags found
No related merge requests found
......@@ -219,7 +219,7 @@
#ifdef CONTEXT_COPY_IMAGE_CONTENTS
<menuitem id="context-copyimage-contents"
data-l10n-id="main-context-menu-image-copy"
oncommand="goDoCommand('cmd_copyImage');"/>
oncommand="goDoCommand('cmd_copyImageContents');"/>
#endif
<menuitem id="context-copyimage"
data-l10n-id="main-context-menu-image-copy-link"
......
......@@ -501,7 +501,7 @@ nsresult nsCopySupport::ImageCopy(nsIImageLoadingContent* aImageElement,
trans->SetReferrerInfo(referrerInfo);
}
#ifdef XP_WIN
#if defined(XP_WIN) && !defined(BASE_BROWSER_VERSION)
rv = AppendImagePromise(trans, imgRequest, aImageElement);
NS_ENSURE_SUCCESS(rv, rv);
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment