Trans: Fix handling of permanent record link in Dynix, by Sylain, to make Bruce happy

This commit is contained in:
Avram Lyon 2011-04-04 17:39:32 +00:00
parent 8117dfabe7
commit a4cc84a7b4

View file

@ -8,7 +8,7 @@
"maxVersion":"", "maxVersion":"",
"priority":100, "priority":100,
"inRepository":true, "inRepository":true,
"lastUpdated":"2009-12-10 07:10:00" "lastUpdated":"2011-04-04 07:10:00"
} }
@ -144,7 +144,7 @@ function doWeb(doc, url) {
{ {
permalink = permalink + "&" + profile[1]; permalink = permalink + "&" + profile[1];
} }
newItem.url = permalink; newItem.attachments = [{url:permalink, title:"Original record", mimeType:"text/html", snapshot:false}];
} }
else else
{ {
@ -155,4 +155,4 @@ function doWeb(doc, url) {
}, function() { Zotero.done() }, null); }, function() { Zotero.done() }, null);
Zotero.wait(); Zotero.wait();
} }