commit 8455b4ce0a2795209b8071ec057531a6180a943c parent 5d78e25bbbc16e22aa28e99818da89c22aa7e74d Author: Dan Stillman <dstillman@zotero.org> Date: Wed, 19 Aug 2009 13:05:23 +0000 Reorder Diffstat:
| M | chrome/content/zotero/xpcom/data/item.js | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js @@ -2385,24 +2385,24 @@ Zotero.Item.prototype.isAttachment = function() { } -Zotero.Item.prototype.isWebAttachment = function() { +Zotero.Item.prototype.isImportedAttachment = function() { if (!this.isAttachment()) { return false; } var linkMode = this.attachmentLinkMode; - if (linkMode == Zotero.Attachments.LINK_MODE_IMPORTED_FILE || linkMode == Zotero.Attachments.LINK_MODE_LINKED_FILE) { + if (linkMode == Zotero.Attachments.LINK_MODE_IMPORTED_FILE || linkMode == Zotero.Attachments.LINK_MODE_IMPORTED_URL) { return false; } return true; } -Zotero.Item.prototype.isImportedAttachment = function() { +Zotero.Item.prototype.isWebAttachment = function() { if (!this.isAttachment()) { return false; } var linkMode = this.attachmentLinkMode; - if (linkMode == Zotero.Attachments.LINK_MODE_IMPORTED_FILE || linkMode == Zotero.Attachments.LINK_MODE_IMPORTED_URL) { + if (linkMode == Zotero.Attachments.LINK_MODE_IMPORTED_FILE || linkMode == Zotero.Attachments.LINK_MODE_LINKED_FILE) { return false; } return true;