CC-1124 filetype incon in search
This commit is contained in:
parent
036adf17e3
commit
d86577716b
3 changed files with 7 additions and 0 deletions
BIN
public/css/images/icon_audioclip.png
Normal file
BIN
public/css/images/icon_audioclip.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
public/css/images/icon_playlist.png
Normal file
BIN
public/css/images/icon_playlist.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
|
@ -65,6 +65,13 @@ function dtRowCallback( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
|
||||||
type = aData[6].substring(0,2);
|
type = aData[6].substring(0,2);
|
||||||
id = aData[0];
|
id = aData[0];
|
||||||
|
|
||||||
|
if(type == "au") {
|
||||||
|
$('td:eq(5)', nRow).html( '<img src="css/images/icon_audioclip.png">' );
|
||||||
|
}
|
||||||
|
else if(type == "pl") {
|
||||||
|
$('td:eq(5)', nRow).html( '<img src="css/images/icon_playlist.png">' );
|
||||||
|
}
|
||||||
|
|
||||||
$(nRow).attr("id", type+'_'+id);
|
$(nRow).attr("id", type+'_'+id);
|
||||||
|
|
||||||
$(nRow).qtip({
|
$(nRow).qtip({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue