commit c093e7b62b9bbc6e2cb9809850d3e127f8b0d47d parent 0a9d6d5684d8f8fdb43831ede657b173f92b62c0 Author: Dan Stillman <dstillman@zotero.org> Date: Thu, 27 Jul 2006 15:04:22 +0000 Item.isRegularItem() = !(Item.isNote() || Item.isFile()) Diffstat:
| M | chrome/chromeFiles/content/scholar/xpcom/data_access.js | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git 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