From f23d9a4aeb8d2dd7e575e6ebd6c59d1e382667f1 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 3 Jan 2007 19:06:00 +0000 Subject: [PATCH] Fix isAbstract() errors --- chrome/content/zotero/xpcom/data_access.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/chrome/content/zotero/xpcom/data_access.js b/chrome/content/zotero/xpcom/data_access.js index cf618108e..0b1cda510 100644 --- a/chrome/content/zotero/xpcom/data_access.js +++ b/chrome/content/zotero/xpcom/data_access.js @@ -1188,12 +1188,8 @@ Zotero.Item.prototype.getNotes = function(){ * Return true if a note item is an abstract, false otherwise */ Zotero.Item.prototype.isAbstract = function() { - if (this.isAttachment()) { - return false; - } - if (!this.isNote()) { - throw ("isAbstract() can only be called on note items"); + return false; } if (!this.getID()) {