commit bc4afb6d8549e4a7953de972217711cbbe4d3b2a
parent edb53c31df34307cf58849ed6224a0296e27a27c
Author: Adomas VenĨkauskas <adomas.ven@gmail.com>
Date: Fri, 24 Mar 2017 17:51:04 +0200
Fixes report printing. Closes #1179.
Page Setup seems to have moved into the print dialog in Firefox a while
ago
Diffstat:
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/chrome/content/zotero/standalone/basicViewer.xul b/chrome/content/zotero/standalone/basicViewer.xul
@@ -57,8 +57,7 @@
<!--FILE-->
<command id="cmd_close" oncommand="window.close();"/>
<command id="cmd_save" oncommand="saveDocument(window.content.document);"/>
- <command id="cmd_pageSetup" oncommand="PrintUtils.showPageSetup();"/>
- <command id="cmd_print" oncommand="PrintUtils.print();"/>
+ <command id="cmd_print" oncommand="browser.contentWindow.print()"/>
<command id="cmd_quitApplication" oncommand="goQuitApplication();"/>
<!--EDIT-->
@@ -119,8 +118,6 @@
<menuitem id="menu_save" label="&saveCmd.label;" key="key_save"
accesskey="&saveCmd.accesskey;" command="cmd_save"/>
<menuseparator/>
- <menuitem id="menu_pageSetup" label="&pageSetupCmd.label;"
- accesskey="&pageSetupCmd.accesskey;" command="cmd_pageSetup"/>
<menuitem id="menu_print" label="&printCmd.label;" key="key_print"
accesskey="&printCmd.accesskey;" command="cmd_print"/>