Add links for track items on tables

This commit is contained in:
Jonathan Wong 2015-09-13 13:33:09 -07:00
parent 73664b6a03
commit 5f2cf6cb7a
5 changed files with 5 additions and 5 deletions

View file

@ -49,7 +49,7 @@ sync_table_options = {
"data": "title",
"createdCell": function (td, cellData, rowData, row, col) {
if (cellData !== '') {
if (rowData['metadata_type'] !== 'track') {
if (rowData['metadata_type'] !== '') {
$(td).html('<a href="info?item_id=' + rowData['rating_key'] + '">' + cellData + '</a>');
} else {
$(td).html(cellData);