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
|
@ -531,6 +531,8 @@ var Zotero_Browser = new function() {
|
||||||
});
|
});
|
||||||
popup.appendChild(menuitem);
|
popup.appendChild(menuitem);
|
||||||
|
|
||||||
|
// TEMP: Requires a new Standalone build
|
||||||
|
if (!Zotero.isConnector) {
|
||||||
menuitem = document.createElement("menuitem");
|
menuitem = document.createElement("menuitem");
|
||||||
menuitem.setAttribute("label", Zotero.getString('ingester.saveToZoteroAsWebPageWithoutSnapshot'));
|
menuitem.setAttribute("label", Zotero.getString('ingester.saveToZoteroAsWebPageWithoutSnapshot'));
|
||||||
menuitem.setAttribute("image", webPageIcon);
|
menuitem.setAttribute("image", webPageIcon);
|
||||||
|
@ -540,6 +542,7 @@ var Zotero_Browser = new function() {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
});
|
});
|
||||||
popup.appendChild(menuitem);
|
popup.appendChild(menuitem);
|
||||||
|
}
|
||||||
|
|
||||||
if (captureState == tab.CAPTURE_STATE_TRANSLATABLE) {
|
if (captureState == tab.CAPTURE_STATE_TRANSLATABLE) {
|
||||||
popup.appendChild(document.createElement("menuseparator"));
|
popup.appendChild(document.createElement("menuseparator"));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user