kopia lustrzana https://github.com/c9/core
Merge pull request +8617 from c9/pull/core/124
Added column.getHTML method to acetreepull/125/head
commit
3d99de215c
|
@ -109,9 +109,9 @@ var Cells = function(parentEl) {
|
|||
}
|
||||
if (columns) {
|
||||
for (var col = columns[0].type == "tree" ? 1 : 0; col < columns.length; col++) {
|
||||
html.push("</span>"
|
||||
+ this.columnNode(datarow, columns[col], row)
|
||||
+ escapeHTML(columns[col].getText(datarow) + ""));
|
||||
var column = columns[col];
|
||||
var rowStr = (column.getHTML) ? column.getHTML(datarow) : escapeHTML(column.getText(datarow) + "");
|
||||
html.push("</span>" + this.columnNode(datarow, column, row) + rowStr);
|
||||
}
|
||||
html.push("</span>");
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue