@ -150,7 +150,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, {
function callback(nodes, hasNext) {
if (hasNext) {
self.service.pushNodeList(treeNode.tId, self.nodes, getNodes);
self.service.pushNodeList(treeNode.tId, getNodes);
} else {
self.service.removeNodeList(treeNode.tId);
}
@ -54,7 +54,7 @@
return nodeList.length === 0 || nodeList.css("display") === "none";
},
pushNodeList: function (tId, nodes, populate) {
pushNodeList: function (tId, populate) {
var self = this;
if (!BI.has(this.nodeLists, tId)) {
this.nodeLists[tId] = {