From 73226f190dbc291b008b4c821993463050de63f3 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 2 Feb 2007 09:21:04 +0000 Subject: [PATCH] More scope fallout from r1144 --- chrome/content/zotero/overlay.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js index 2610d086c..5854d22b6 100644 --- a/chrome/content/zotero/overlay.js +++ b/chrome/content/zotero/overlay.js @@ -244,24 +244,24 @@ var ZoteroPane = new function() switch (command) { case 'library': document.getElementById('zotero-collections-tree').focus(); - this.collectionsView.selection.select(0); + ZoteroPane.collectionsView.selection.select(0); break; case 'quicksearch': document.getElementById('zotero-tb-search').select(); break; case 'newItem': - this.newItem(2); // book + ZoteroPane.newItem(2); // book document.getElementById('zotero-editpane-type-menu').focus(); break; case 'newNote': // Use key that's not the modifier as the popup toggle - this.newNote(useShift ? event.altKey : event.shiftKey); + ZoteroPane.newNote(useShift ? event.altKey : event.shiftKey); break; case 'toggleTagSelector': - this.toggleTagSelector(); + ZoteroPane.toggleTagSelector(); break; case 'toggleFullscreen': - this.fullScreen(); + ZoteroPane.fullScreen(); break; default: throw ('Command "' + command + '" not found in ZoteroPane.handleKeyPress()');