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;
|
? 1 : 0;
|
||||||
return $('<img>')
|
return $('<img>')
|
||||||
.attr({
|
.attr({
|
||||||
src: Ox.UI.getImageURL('symbol' + {
|
src: Ox.UI.getImageURL('symbol' + ({
|
||||||
'available': 'Check',
|
'available': 'Check',
|
||||||
'encoding': 'Sync',
|
'encoding': 'Sync',
|
||||||
'failed': 'Warning',
|
'failed': 'Warning',
|
||||||
'queued': 'Data',
|
'queued': 'Data',
|
||||||
'uploading': 'Upload',
|
'uploading': 'Upload',
|
||||||
'wanted': 'Up',
|
'wanted': 'Up',
|
||||||
}[data.state])
|
}[data.state] || 'Check'))
|
||||||
})
|
})
|
||||||
.css({
|
.css({
|
||||||
width: '10px',
|
width: '10px',
|
||||||
|
|
Loading…
Reference in a new issue