From 40222ebf9378e5698c8af3bb3c59896f37f6960a Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 4 Feb 2010 02:54:16 +0000 Subject: [PATCH] Remove sync/storage debugging options from Actions menu --- chrome/content/zotero/overlay.js | 4 +--- chrome/content/zotero/overlay.xul | 13 ++++--------- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js index d7e5fc7db..fc0abb4ff 100644 --- a/chrome/content/zotero/overlay.js +++ b/chrome/content/zotero/overlay.js @@ -197,12 +197,10 @@ var ZoteroPane = new function() // Hide sync debugging menu by default if (Zotero.Prefs.get('sync.debugMenu')) { var sep = document.getElementById('zotero-tb-actions-sync-separator'); - var menuitems = []; + sep.hidden = false; sep.nextSibling.hidden = false; sep.nextSibling.nextSibling.hidden = false; sep.nextSibling.nextSibling.nextSibling.hidden = false; - sep.nextSibling.nextSibling.nextSibling.nextSibling.hidden = false; - sep.nextSibling.nextSibling.nextSibling.nextSibling.nextSibling.nextSibling.hidden = false; } if (Zotero.Prefs.get('debugShowDuplicates')) { diff --git a/chrome/content/zotero/overlay.xul b/chrome/content/zotero/overlay.xul index 8a9c58c68..669998209 100644 --- a/chrome/content/zotero/overlay.xul +++ b/chrome/content/zotero/overlay.xul @@ -160,15 +160,10 @@