fix parse error
This commit is contained in:
parent
b8d89b9d60
commit
8005ed59e4
1 changed files with 3 additions and 3 deletions
|
@ -61,7 +61,7 @@ var typeMap = {
|
|||
artwork:"ART",
|
||||
report:"RPRT",
|
||||
bill:"BILL",
|
||||
case:"CASE",
|
||||
"case":"CASE",
|
||||
hearing:"HEAR",
|
||||
patent:"PAT",
|
||||
statute:"STAT",
|
||||
|
@ -545,9 +545,9 @@ function doExport() {
|
|||
if(item.abstractNote) {
|
||||
addTag("N2", item.abstractNote.replace(/(?:\r\n?|\n)/g, "\r\n"));
|
||||
}
|
||||
else if(item.abstract) {
|
||||
else if(item["abstract"]) {
|
||||
// patent type has abstract
|
||||
addTag("N2", item.abstract.replace(/(?:\r\n?|\n)/g, "\r\n"));
|
||||
addTag("N2", item["abstract"].replace(/(?:\r\n?|\n)/g, "\r\n"));
|
||||
}
|
||||
|
||||
// tags
|
||||
|
|
Loading…
Reference in a new issue