www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit be2e5d680f2a998134e607fd4e39d2510a1f5e01
parent 79b3c5c70388e75da3030bfc542820270da79ce8
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sat, 19 Feb 2011 04:19:22 +0000

Fix breakage from r8279


Diffstat:
Mchrome/content/zotero/locateMenu.js | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/chrome/content/zotero/locateMenu.js b/chrome/content/zotero/locateMenu.js @@ -34,7 +34,7 @@ var Zotero_LocateMenu = new function() { /** * Clear and build the locate menu */ - this.buildLocateMenu = function(menu, useIcons, ) { + this.buildLocateMenu = function() { var locateMenu = document.getElementById('zotero-tb-locate-menu'); // clear menu @@ -51,7 +51,6 @@ var Zotero_LocateMenu = new function() { for each(var item in selectedItems) { for(var viewOption in ViewOptions) { if(!optionsToShow[viewOption]) { - Zotero.debug("testing "+viewOption); optionsToShow[viewOption] = ViewOptions[viewOption].canHandleItem(item); } } @@ -64,7 +63,6 @@ var Zotero_LocateMenu = new function() { var menuitem = _createMenuItem(Zotero.getString("locate."+viewOption+".label"), null, Zotero.getString("locate."+viewOption+".tooltip")); menuitem.setAttribute("class", "menuitem-iconic"); - Zotero.debug("icon is "+ViewOptions[viewOption].icon); menuitem.setAttribute("image", ViewOptions[viewOption].icon); locateMenu.appendChild(menuitem);