fix MODS translator breakage on Firefox 4
This commit is contained in:
parent
477fa67c5f
commit
a0e1319df6
1 changed files with 3 additions and 3 deletions
|
@ -4,13 +4,13 @@
|
||||||
"label":"MODS",
|
"label":"MODS",
|
||||||
"creator":"Simon Kornblith",
|
"creator":"Simon Kornblith",
|
||||||
"target":"xml",
|
"target":"xml",
|
||||||
"minVersion":"2.0b6.3",
|
"minVersion":"2.1b3",
|
||||||
"maxVersion":"",
|
"maxVersion":"",
|
||||||
"priority":50,
|
"priority":50,
|
||||||
"configOptions":{"dataMode":"dom/xml"},
|
"configOptions":{"dataMode":"dom/xml"},
|
||||||
"displayOptions":{"exportNotes":true},
|
"displayOptions":{"exportNotes":true},
|
||||||
"inRepository":true,
|
"inRepository":true,
|
||||||
"lastUpdated":"2011-01-11 04:31:00"
|
"lastUpdated":"2011-01-27 19:35:57"
|
||||||
}
|
}
|
||||||
|
|
||||||
function detectImport() {
|
function detectImport() {
|
||||||
|
@ -569,7 +569,7 @@ function doImport() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// look for roles
|
// look for roles
|
||||||
for(var role in name.m::role.m::roleTerm) {
|
for each(var role in name.m::role.m::roleTerm) {
|
||||||
if(role.@type == "code" && role.@authority == "marcrelator") {
|
if(role.@type == "code" && role.@authority == "marcrelator") {
|
||||||
if(role == "edt") {
|
if(role == "edt") {
|
||||||
creator.creatorType = "editor";
|
creator.creatorType = "editor";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue