Fix parse error in MODS translator
This commit is contained in:
parent
aec3c4381f
commit
d7ff547e2f
1 changed files with 8 additions and 7 deletions
|
@ -8,7 +8,7 @@
|
|||
"maxVersion":"",
|
||||
"priority":50,
|
||||
"inRepository":true,
|
||||
"lastUpdated":"2010-02-04 02:38:25"
|
||||
"lastUpdated":"2010-07-26 03:29:21"
|
||||
}
|
||||
|
||||
Zotero.addOption("exportNotes", true);
|
||||
|
@ -435,8 +435,8 @@ function doImport() {
|
|||
"letter":"letter",
|
||||
"motion picture":"film",
|
||||
"art original":"artwork",
|
||||
"web site":"webpage"
|
||||
"yearbook":"book",
|
||||
"web site":"webpage",
|
||||
"yearbook":"book"
|
||||
};
|
||||
|
||||
// parse with E4X
|
||||
|
@ -468,6 +468,7 @@ function doImport() {
|
|||
newItem.title = titleInfo.*.text(); // including text from sub elements
|
||||
}
|
||||
}
|
||||
}
|
||||
// try to get genre from local genre
|
||||
for each(var genre in mods.m::genre) {
|
||||
if(genre.@authority == "local" && Zotero.Utilities.itemTypeExists(genre)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue