From c093e7b62b9bbc6e2cb9809850d3e127f8b0d47d Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 27 Jul 2006 15:04:22 +0000 Subject: [PATCH] Item.isRegularItem() = !(Item.isNote() || Item.isFile()) --- chrome/chromeFiles/content/scholar/xpcom/data_access.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chrome/chromeFiles/content/scholar/xpcom/data_access.js b/chrome/chromeFiles/content/scholar/xpcom/data_access.js index 894e6fbbf..b5d60b128 100644 --- a/chrome/chromeFiles/content/scholar/xpcom/data_access.js +++ b/chrome/chromeFiles/content/scholar/xpcom/data_access.js @@ -776,6 +776,11 @@ Scholar.Item.prototype.updateDateModified = function(){ } +Scholar.Item.prototype.isRegularItem = function(){ + return !(this.isNote() || this.isFile()); +} + + //////////////////////////////////////////////////////// // // Methods dealing with note items