Skip to content

Commit

Permalink
fix error when attaching new file
Browse files Browse the repository at this point in the history
  • Loading branch information
Joscha Legewie committed Sep 30, 2013
1 parent d183086 commit 0ceea0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome/content/zotfile/zotfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -2465,7 +2465,7 @@ Zotero.ZotFile = {

// Rename & Move Existing Attachments
renameAttachment: function(item, att, rename, import_att, dest_dir, subfolder, subfolderFormat, notification) {
var newAttID=null;
var newAttID=att.getID();
// get link mode and item ID
var linkmode = att.attachmentLinkMode;
var itemID = item.id;
Expand Down

0 comments on commit 0ceea0b

Please sign in to comment.