Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/application/diff/DiffTreeView.js
Show First 20 Lines • Show All 100 Lines • ▼ Show 20 Lines | redraw: function() { | ||||
tree = this._nodes[key]; | tree = this._nodes[key]; | ||||
path = tree.pathObject; | path = tree.pathObject; | ||||
if (!path) { | if (!path) { | ||||
path = new JX.DiffPathView() | path = new JX.DiffPathView() | ||||
.setPath(tree.parts); | .setPath(tree.parts); | ||||
path.getIcon() | path.getIcon() | ||||
.setIcon('fa-folder-open-o'); | .setIcon('fa-folder-open-o') | ||||
.setColor('grey'); | |||||
tree.pathObject = path; | tree.pathObject = path; | ||||
} | } | ||||
trees.push(tree); | trees.push(tree); | ||||
} | } | ||||
for (ii = 0; ii < trees.length; ii++) { | for (ii = 0; ii < trees.length; ii++) { | ||||
▲ Show 20 Lines • Show All 138 Lines • Show Last 20 Lines |