Bug 623919 - Save Image/Save Link not working [r=mbrubeck]

This commit is contained in:
Mark Finkle 2011-01-07 13:26:10 -05:00
Родитель 44156ec9bc
Коммит 00434dc67f
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -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);
},