From 18a3c7355cc1b90c9a11831d8eff5e76c2c3de20 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Sun, 6 May 2012 21:26:37 -0400 Subject: [PATCH] Make menu bar appear in Zotero Standalone reports on Windows --- chrome/content/zotero/preferences/preferences.js | 2 +- chrome/content/zotero/standalone/standalone.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/preferences/preferences.js b/chrome/content/zotero/preferences/preferences.js index 24996db41..c3722121b 100644 --- a/chrome/content/zotero/preferences/preferences.js +++ b/chrome/content/zotero/preferences/preferences.js @@ -1922,7 +1922,7 @@ function openInViewer(uri, newTab) { win.loadURI(uri); } else { window.openDialog("chrome://zotero/content/standalone/basicViewer.xul", - "basicViewer", "chrome,resizable,centerscreen", uri); + "basicViewer", "chrome,resizable,centerscreen,menubar,scrollbars", uri); } } else { var win = wm.getMostRecentWindow("navigator:browser"); diff --git a/chrome/content/zotero/standalone/standalone.js b/chrome/content/zotero/standalone/standalone.js index 1c9bea03a..fa0977487 100644 --- a/chrome/content/zotero/standalone/standalone.js +++ b/chrome/content/zotero/standalone/standalone.js @@ -128,7 +128,7 @@ const ZoteroStandalone = new function() { win.loadURI(uri); } else { window.openDialog("chrome://zotero/content/standalone/basicViewer.xul", - "basicViewer", "chrome,resizable,centerscreen", uri); + "basicViewer", "chrome,resizable,centerscreen,menubar,scrollbars", uri); } }