commit a7c89d4dbc22e179fddce79a0ef6f7d9c4e31510 parent a37e699ba7d8e53e0336fc7caea1f2bda66e0dc0 Author: Dan Stillman <dstillman@zotero.org> Date: Wed, 30 Aug 2006 00:32:05 +0000 Fixes #234, # column not working Diffstat:
| M | chrome/chromeFiles/content/scholar/xpcom/itemTreeView.js | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/chrome/chromeFiles/content/scholar/xpcom/itemTreeView.js b/chrome/chromeFiles/content/scholar/xpcom/itemTreeView.js @@ -221,9 +221,9 @@ Scholar.ItemTreeView.prototype.getCellText = function(row, column) var obj = this._getItemAtRow(row); var val; - if(column.id == "numNotes") + if(column.id == "numChildren") { - var c = obj.numNotes(); + var c = obj.numChildren(); if(c) //don't display '0' val = c; }