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);
|
||||
}
|
||||
|
||||
if (firstRow === 0 && lastRow === 0) {
|
||||
if (firstRow <= 0 && lastRow <= 0) {
|
||||
this.renderPlaceHolder(provider, html, config);
|
||||
}
|
||||
|
||||
|
@ -130,7 +130,7 @@ var Cells = function(parentEl) {
|
|||
provider.renderRow(row, html, config);
|
||||
}
|
||||
|
||||
if (firstRow === 0 && lastRow === 0) {
|
||||
if (firstRow <= 0 && lastRow <= 0) {
|
||||
this.renderPlaceHolder(provider, html, config);
|
||||
}
|
||||
|
||||
|
@ -187,7 +187,7 @@ var Cells = function(parentEl) {
|
|||
} else if (provider.getEmptyMessage) {
|
||||
html.push(
|
||||
"<div class='message empty'>",
|
||||
provider.getEmptyMessage(),
|
||||
escapeHTML(provider.getEmptyMessage()),
|
||||
"</div>"
|
||||
);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue