From a7c89d4dbc22e179fddce79a0ef6f7d9c4e31510 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 30 Aug 2006 00:32:05 +0000 Subject: [PATCH] Fixes #234, # column not working --- 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 index 2b55610b77..c799244264 100644 --- 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; }