fix mediaView for no longer available files

This commit is contained in:
j 2014-06-15 19:47:11 +02:00
parent 284544f733
commit bd763f0fa8

View file

@ -85,14 +85,14 @@ pandora.ui.mediaView = function(options) {
? 1 : 0;
return $('<img>')
.attr({
src: Ox.UI.getImageURL('symbol' + {
src: Ox.UI.getImageURL('symbol' + ({
'available': 'Check',
'encoding': 'Sync',
'failed': 'Warning',
'queued': 'Data',
'uploading': 'Upload',
'wanted': 'Up',
}[data.state])
}[data.state] || 'Check'))
})
.css({
width: '10px',