forked from 0x2620/pandora
update size if it changes, i.e. multipart with multipart videos
This commit is contained in:
parent
abb894636b
commit
5032d95958
1 changed files with 3 additions and 0 deletions
|
@ -328,6 +328,9 @@ pandora.ui.cacheDialog = function() {
|
||||||
if (!Ox.isEmpty(current) && current.progress != file.progress) {
|
if (!Ox.isEmpty(current) && current.progress != file.progress) {
|
||||||
$list.value(file.id, 'progress', file.progress);
|
$list.value(file.id, 'progress', file.progress);
|
||||||
}
|
}
|
||||||
|
if (!Ox.isEmpty(current) && current.size != file.size) {
|
||||||
|
$list.value(file.id, 'size', file.size);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
updateStatus();
|
updateStatus();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue