Loading public/javascript/redmic/modules/browser/HierarchicalImpl.js +3 −1 Original line number Diff line number Diff line Loading @@ -190,7 +190,6 @@ define([ _addAfterData: function(response) { this._showPendingParents(); //this._pendingParentsToShow = []; }, _parserIndexData: function(response) { Loading Loading @@ -269,6 +268,9 @@ define([ if (!rowInstance || !this._evaluateItem(item)) { return; } else if (item[this.leavesProperty]) { if (!this._pendingParentsToShow) { this._pendingParentsToShow = []; } this._pendingParentsToShow.push(idProperty); return; Loading public/javascript/redmic/modules/browser/_HierarchicalLazyLoad.js +12 −0 Original line number Diff line number Diff line Loading @@ -178,6 +178,18 @@ define([ this._pathGenerateParent = null; this._nodeParent = null; }, _showRow: function(item) { var idProperty = item[this.idProperty], rowInstance = this._getRowInstance(idProperty); if (!rowInstance || !this._evaluateItem(item)) { return; } this._showInstanceRow(rowInstance, item, this.rowsContainerNode, false); } }); }); Loading
public/javascript/redmic/modules/browser/HierarchicalImpl.js +3 −1 Original line number Diff line number Diff line Loading @@ -190,7 +190,6 @@ define([ _addAfterData: function(response) { this._showPendingParents(); //this._pendingParentsToShow = []; }, _parserIndexData: function(response) { Loading Loading @@ -269,6 +268,9 @@ define([ if (!rowInstance || !this._evaluateItem(item)) { return; } else if (item[this.leavesProperty]) { if (!this._pendingParentsToShow) { this._pendingParentsToShow = []; } this._pendingParentsToShow.push(idProperty); return; Loading
public/javascript/redmic/modules/browser/_HierarchicalLazyLoad.js +12 −0 Original line number Diff line number Diff line Loading @@ -178,6 +178,18 @@ define([ this._pathGenerateParent = null; this._nodeParent = null; }, _showRow: function(item) { var idProperty = item[this.idProperty], rowInstance = this._getRowInstance(idProperty); if (!rowInstance || !this._evaluateItem(item)) { return; } this._showInstanceRow(rowInstance, item, this.rowsContainerNode, false); } }); });