Reorder
This commit is contained in:
parent
5d78e25bbb
commit
8455b4ce0a
|
@ -2385,18 +2385,6 @@ Zotero.Item.prototype.isAttachment = 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_LINKED_FILE) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Zotero.Item.prototype.isImportedAttachment = function() {
|
||||
if (!this.isAttachment()) {
|
||||
return false;
|
||||
|
@ -2409,6 +2397,18 @@ 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_LINKED_FILE) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns number of child attachments of item
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue
Block a user