diff --git a/chrome/chromeFiles/content/scholar/xpcom/itemTreeView.js b/chrome/chromeFiles/content/scholar/xpcom/itemTreeView.js index a7174a321f..2b55610b77 100644 --- a/chrome/chromeFiles/content/scholar/xpcom/itemTreeView.js +++ b/chrome/chromeFiles/content/scholar/xpcom/itemTreeView.js @@ -782,6 +782,14 @@ Scholar.ItemTreeView.TreeRow.prototype.getType = function() return this.ref.getType(); } +Scholar.ItemTreeView.TreeRow.prototype.numChildren = function() +{ + if(this.isRegularItem()) + return this.ref.numChildren(); + else + return 0; +} + Scholar.ItemTreeView.TreeRow.prototype.numNotes = function() { if(this.isRegularItem())