Fixes #1425, ignoring dates & termsOfAddress so they don't overwrite the author name.
This commit is contained in:
parent
d4a7e5bd37
commit
51a019e753
1 changed files with 4 additions and 1 deletions
|
@ -448,7 +448,10 @@ function doImport() {
|
|||
creator.firstName = namePart.text().toString();
|
||||
} else if(namePart.@type == "family") {
|
||||
creator.lastName = namePart.text().toString();
|
||||
} else {
|
||||
} else if(namePart.@type == "date" || namePart.@type == "termsOfAddress") {
|
||||
// ignore these non name types for now
|
||||
}
|
||||
else {
|
||||
var backupName = namePart.text().toString();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue