diff --git a/chrome/content/zotero/xpcom/attachments.js b/chrome/content/zotero/xpcom/attachments.js index 3c53148a50..8f1433ae3c 100644 --- a/chrome/content/zotero/xpcom/attachments.js +++ b/chrome/content/zotero/xpcom/attachments.js @@ -359,6 +359,8 @@ Zotero.Attachments = new function(){ wbp.saveURI(nsIURL, null, null, null, null, file, null); } + if(callback) callback(attachmentItem); + return attachmentItem; } catch (e){ diff --git a/chrome/content/zotero/xpcom/data/itemFields.js b/chrome/content/zotero/xpcom/data/itemFields.js index fbb56cc5e7..8fb1296b00 100644 --- a/chrome/content/zotero/xpcom/data/itemFields.js +++ b/chrome/content/zotero/xpcom/data/itemFields.js @@ -315,6 +315,7 @@ Zotero.ItemFields = new function() { 'archive', 'archiveLocation', 'language', + 'programmingLanguage', 'rights', // TEMP - NSF diff --git a/translators b/translators index f60972d26e..a685b279c6 160000 --- a/translators +++ b/translators @@ -1 +1 @@ -Subproject commit f60972d26e97034438c36ef0e1d7efde3b4205ad +Subproject commit a685b279c61b5c1b1368ea7997fc2b4914eedf8a