www

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

commit 9652b9f553eb87acf027caa2fe7cbc0f9e0e856c
parent 168e4e4b45bc03c9e9df78b41d51a5f130ef30d7
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sat, 29 Jul 2017 22:16:15 -0400

Fix logged errors and debug messages in timeline

Diffstat:
Mchrome/skin/default/zotero/timeline/timeline.html | 2+-
Mcomponents/zotero-protocol-handler.js | 3---
2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/chrome/skin/default/zotero/timeline/timeline.html b/chrome/skin/default/zotero/timeline/timeline.html @@ -85,7 +85,7 @@ var win = wm.getMostRecentWindow('navigator:browser'); var zp = win.ZoteroPane; zp.show(); - zp.selectItem(evt.getDescription()); + zp.selectItem(parseInt(evt.getDescription())); } document.write("<title>" + getString("general.title") + "</title>"); diff --git a/components/zotero-protocol-handler.js b/components/zotero-protocol-handler.js @@ -666,9 +666,6 @@ function ZoteroProtocolHandler() { var dateParts=timelineDate.toString().split(' '); timelineDate=dateParts[1]+'.'+dateParts[2]+'.'+dateParts[3]; } - Zotero.debug('='); - Zotero.debug(params.i); - Zotero.debug(intervals); if (!intervals || intervals.length < 3) { intervals += "mye".substr(intervals.length); }