debug(library): add console.log in _renderTable
This commit is contained in:
@@ -333,6 +333,7 @@ function libraryPage() {
|
||||
if (table) table.style.display = '';
|
||||
if (emptyDiv) emptyDiv.style.display = 'none';
|
||||
if (loadingDiv) loadingDiv.style.display = 'none';
|
||||
console.log('[Library] _renderTable: writing ' + this.flatItems.length + ' rows');
|
||||
var html = '';
|
||||
for (var i = 0; i < this.flatItems.length; i++) {
|
||||
var item = this.flatItems[i];
|
||||
@@ -380,6 +381,7 @@ function libraryPage() {
|
||||
html += '</div>';
|
||||
}
|
||||
body.innerHTML = html;
|
||||
console.log('[Library] _renderTable: done, body has ' + body.children.length + ' children');
|
||||
},
|
||||
|
||||
_escHtml(s) { var d=document.createElement('div'); d.textContent = s||''; return d.innerHTML; },
|
||||
|
||||
Reference in New Issue
Block a user