www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit ca1fa34f1ded6115a85cbeb99286193ea440d949
parent 68715ed99f438efa19330680f17fbadaf0ec11d2
Author: Simon Kornblith <simon@simonster.com>
Date:   Mon,  4 Apr 2011 15:00:40 +0000

fix missing toString() in MODS, which was breaking unAPI import with attachments


Diffstat:
Mtranslators/MODS.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/translators/MODS.js b/translators/MODS.js @@ -10,7 +10,7 @@ "configOptions":{"dataMode":"xml/e4x"}, "displayOptions":{"exportNotes":true}, "inRepository":true, - "lastUpdated":"2011-02-03 07:00:12" + "lastUpdated":"2011-02-04 15:00:05" } function detectImport() { @@ -713,7 +713,7 @@ function doImport() { if (url.@access == "raw object") { var filetitle; if (url.@displayLabel){ - filetitle = url.@displayLabel; + filetitle = url.@displayLabel.toString(); } else { filetitle = "Attachment"; }