playlist.html: The livegrid works you can scroll up and down,
but songnames etc are truncated to 10 chars to prevent the rows from expanding their heights. I have to do something about the layout to get more room.
This commit is contained in:
parent
e6b57ef704
commit
0987d427e6
|
@ -1984,7 +1984,7 @@ Rico.LiveGridBuffer.prototype = {
|
|||
seconds = (seconds < 10) ? '0'+seconds : seconds;
|
||||
row.push(Math.floor(time/60)+ ':' + seconds);
|
||||
} else {
|
||||
row.push(el.getElementsByTagName(name)[0].firstChild.nodeValue);
|
||||
row.push(el.getElementsByTagName(name)[0].firstChild.nodeValue.truncate(10));
|
||||
}
|
||||
});
|
||||
newRows.push(row);
|
||||
|
@ -2421,6 +2421,10 @@ Rico.LiveGrid.prototype = {
|
|||
ajaxUpdate: function(ajaxResponse) {
|
||||
try {
|
||||
clearTimeout( this.timeoutHandler );
|
||||
var totalRows = ajaxResponse.responseXML.getElementsByTagName('dmap.specifiedtotalcount')[0].firstChild.nodeValue;
|
||||
if (this.metaData.getTotalRows() != totalRows) {
|
||||
this.setTotalRows(totalRows);
|
||||
}
|
||||
this.buffer.update(ajaxResponse,this.processingRequest.bufferOffset);
|
||||
this.viewPort.bufferChanged();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue