Fixes #234, # column not working
This commit is contained in:
parent
a37e699ba7
commit
a7c89d4dbc
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue