Fix logged errors and debug messages in timeline

This commit is contained in:
Dan Stillman 2017-07-29 22:16:15 -04:00
parent 168e4e4b45
commit 9652b9f553
2 changed files with 1 additions and 4 deletions

View file

@ -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>");

View file

@ -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);
}