зеркало из https://github.com/mozilla/gecko-dev.git
Bug 623919 - Save Image/Save Link not working [r=mbrubeck]
This commit is contained in:
Родитель
44156ec9bc
Коммит
00434dc67f
|
@ -1683,12 +1683,12 @@ var ContextCommands = {
|
|||
|
||||
saveLink: function cc_saveLink() {
|
||||
let browser = ContextHelper.popupState.target;
|
||||
saveURL(ContextHelper.popupState.linkURL, null, "SaveLinkTitle", false, true, browser.documentURI);
|
||||
ContentAreaUtils.saveURL(ContextHelper.popupState.linkURL, null, "SaveLinkTitle", false, true, browser.documentURI);
|
||||
},
|
||||
|
||||
saveImage: function cc_saveImage() {
|
||||
let browser = ContextHelper.popupState.target;
|
||||
saveImageURL(ContextHelper.popupState.mediaURL, null, "SaveImageTitle", false, true, browser.documentURI);
|
||||
ContentAreaUtils.saveImageURL(ContextHelper.popupState.mediaURL, null, "SaveImageTitle", false, true, browser.documentURI);
|
||||
},
|
||||
|
||||
shareLink: function cc_shareLink() {
|
||||
|
@ -1749,6 +1749,7 @@ var SharingUI = {
|
|||
}, false);
|
||||
bbox.appendChild(button);
|
||||
});
|
||||
|
||||
this._dialog.waitForClose();
|
||||
BrowserUI.popPopup(this);
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче