commit 507ef011d8999c0be19392992f211b57e191e67b
parent e92a54966cb1503e8d0fad4a477c2718ee379981
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 9 Jul 2015 19:10:32 -0400
Restore "without snapshot" option in Fx connector
Will be supported in upcoming Standalone release
Diffstat:
1 file changed, 9 insertions(+), 12 deletions(-)
diff --git a/chrome/content/zotero/browser.js b/chrome/content/zotero/browser.js
@@ -531,18 +531,15 @@ var Zotero_Browser = new function() {
});
popup.appendChild(menuitem);
- // TEMP: Requires a new Standalone build
- if (!Zotero.isConnector) {
- menuitem = document.createElement("menuitem");
- menuitem.setAttribute("label", Zotero.getString('ingester.saveToZoteroAsWebPageWithoutSnapshot'));
- menuitem.setAttribute("image", webPageIcon);
- menuitem.setAttribute("class", "menuitem-iconic");
- menuitem.addEventListener("command", function (event) {
- Zotero_Browser.saveAsWebPage(false);
- event.stopPropagation();
- });
- popup.appendChild(menuitem);
- }
+ menuitem = document.createElement("menuitem");
+ menuitem.setAttribute("label", Zotero.getString('ingester.saveToZoteroAsWebPageWithoutSnapshot'));
+ menuitem.setAttribute("image", webPageIcon);
+ menuitem.setAttribute("class", "menuitem-iconic");
+ menuitem.addEventListener("command", function (event) {
+ Zotero_Browser.saveAsWebPage(false);
+ event.stopPropagation();
+ });
+ popup.appendChild(menuitem);
if (captureState == tab.CAPTURE_STATE_TRANSLATABLE) {
popup.appendChild(document.createElement("menuseparator"));