closes #495, RIS export failing (feel free to push this out to the repository)
removes unnecessary debug code from browser.js
This commit is contained in:
parent
417397c59f
commit
6f6cec3300
|
@ -233,8 +233,6 @@ var Zotero_Browser = new function() {
|
|||
* object, and updates the status of the capture icon
|
||||
*/
|
||||
function contentLoad(event) {
|
||||
Zotero.debug("contentLoad event");
|
||||
|
||||
var isHTML = event.originalTarget instanceof HTMLDocument;
|
||||
|
||||
if(isHTML) {
|
||||
|
@ -295,8 +293,6 @@ var Zotero_Browser = new function() {
|
|||
* called to unregister Zotero icon, etc.
|
||||
*/
|
||||
function contentHide(event) {
|
||||
Zotero.debug("contentHide event");
|
||||
|
||||
if(event.originalTarget instanceof HTMLDocument && !event.originalTarget.defaultView.frameElement) {
|
||||
var doc = event.originalTarget;
|
||||
|
||||
|
|
10
scrapers.sql
10
scrapers.sql
|
@ -1,4 +1,4 @@
|
|||
-- 163
|
||||
-- 164
|
||||
|
||||
-- ***** BEGIN LICENSE BLOCK *****
|
||||
--
|
||||
|
@ -22,7 +22,7 @@
|
|||
|
||||
|
||||
-- Set the following timestamp to the most recent scraper update date
|
||||
REPLACE INTO version VALUES ('repository', STRFTIME('%s', '2007-01-10 05:00:00'));
|
||||
REPLACE INTO version VALUES ('repository', STRFTIME('%s', '2007-01-11 16:14:00'));
|
||||
|
||||
REPLACE INTO translators VALUES ('96b9f483-c44d-5784-cdad-ce21b984fe01', '1.0.0b3.r1', '', '2006-12-15 03:40:00', 1, 100, 4, 'Amazon.com', 'Sean Takats', '^https?://(?:www\.)?amazon',
|
||||
'function detectWeb(doc, url) {
|
||||
|
@ -8140,7 +8140,7 @@ function doImport() {
|
|||
}
|
||||
}');
|
||||
|
||||
REPLACE INTO translators VALUES ('32d59d2d-b65a-4da4-b0a3-bdd3cfb979e7', '1.0.0b3.r1', '', '2006-12-21 17:23:00', 1, 100, 3, 'RIS', 'Simon Kornblith', 'ris',
|
||||
REPLACE INTO translators VALUES ('32d59d2d-b65a-4da4-b0a3-bdd3cfb979e7', '1.0.0b3.r1', '', '2006-01-11 16:14:00', 1, 100, 3, 'RIS', 'Simon Kornblith', 'ris',
|
||||
'Zotero.configure("dataMode", "line");
|
||||
Zotero.addOption("exportNotes", true);
|
||||
|
||||
|
@ -8500,7 +8500,9 @@ function doExport() {
|
|||
}
|
||||
}
|
||||
|
||||
addTag("N2", item.abstractNote.replace(/(?:\r\n?|\n)/g, "\r\n"));
|
||||
if(item.abstractNote) {
|
||||
addTag("N2", item.abstractNote.replace(/(?:\r\n?|\n)/g, "\r\n"));
|
||||
}
|
||||
|
||||
// tags
|
||||
for(var j in item.tags) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user