forked from 0x2620/pandora
fix mediaView for no longer available files
This commit is contained in:
parent
284544f733
commit
bd763f0fa8
1 changed files with 2 additions and 2 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue