Fixes #234, # column not working

This commit is contained in:
Dan Stillman 2006-08-30 00:32:05 +00:00
parent a37e699ba7
commit a7c89d4dbc

View file

@ -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;
}