Don't show "without snapshot" save option in Fx connector for now
Option requires a new Standalone build with ba53f256d
This commit is contained in:
parent
ba53f256d6
commit
7ccc48b4ae
1 changed files with 12 additions and 9 deletions
|
@ -531,15 +531,18 @@ var Zotero_Browser = new function() {
|
|||
});
|
||||
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);
|
||||
// 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);
|
||||
}
|
||||
|
||||
if (captureState == tab.CAPTURE_STATE_TRANSLATABLE) {
|
||||
popup.appendChild(document.createElement("menuseparator"));
|
||||
|
|
Loading…
Add table
Reference in a new issue