CC-4623: Library: Preview button for Flac does not work

- fixed
This commit is contained in:
James 2012-11-01 16:44:37 -04:00
parent d7a5ab4d94
commit 575400b4c2
6 changed files with 29 additions and 7 deletions

View file

@ -29,6 +29,11 @@ var AIRTIME = (function(AIRTIME) {
if (aData.ftype === "audioclip") {
$nRow.addClass("lib-audio");
$image = $nRow.find('td.library_type');
if (!isAudioSupported(aData.mime)) {
$image.html('<span class="ui-icon ui-icon-locked"></span>');
aData.image = '<span class="ui-icon ui-icon-locked"></span>';
}
} else if (aData.ftype === "stream") {
$nRow.addClass("lib-stream");
} else {