kopia lustrzana https://github.com/c9/core
fix empty message in tree
rodzic
a4adbd78b3
commit
294bbf6934
|
@ -51,7 +51,7 @@ var Cells = function(parentEl) {
|
||||||
this.$renderRow(html, datarow, vsize, hsize, row);
|
this.$renderRow(html, datarow, vsize, hsize, row);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (firstRow === 0 && lastRow === 0) {
|
if (firstRow <= 0 && lastRow <= 0) {
|
||||||
this.renderPlaceHolder(provider, html, config);
|
this.renderPlaceHolder(provider, html, config);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@ var Cells = function(parentEl) {
|
||||||
provider.renderRow(row, html, config);
|
provider.renderRow(row, html, config);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (firstRow === 0 && lastRow === 0) {
|
if (firstRow <= 0 && lastRow <= 0) {
|
||||||
this.renderPlaceHolder(provider, html, config);
|
this.renderPlaceHolder(provider, html, config);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -187,7 +187,7 @@ var Cells = function(parentEl) {
|
||||||
} else if (provider.getEmptyMessage) {
|
} else if (provider.getEmptyMessage) {
|
||||||
html.push(
|
html.push(
|
||||||
"<div class='message empty'>",
|
"<div class='message empty'>",
|
||||||
provider.getEmptyMessage(),
|
escapeHTML(provider.getEmptyMessage()),
|
||||||
"</div>"
|
"</div>"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue