diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-07-14 15:35:50 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-07-14 15:35:50 +0200 |
commit | d9f5207ce7424d9d9820e797f8fd19a99d328427 (patch) | |
tree | 1a01ae4f2d719dae00ee2ebdb41350f8c2f8b05b /pyload/web/app/scripts | |
parent | adapted premiumize me (diff) | |
download | pyload-d9f5207ce7424d9d9820e797f8fd19a99d328427.tar.xz |
also update file size when loading progress
Diffstat (limited to 'pyload/web/app/scripts')
-rw-r--r-- | pyload/web/app/scripts/views/headerView.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pyload/web/app/scripts/views/headerView.js b/pyload/web/app/scripts/views/headerView.js index 991f0f32e..c1e71cc86 100644 --- a/pyload/web/app/scripts/views/headerView.js +++ b/pyload/web/app/scripts/views/headerView.js @@ -209,7 +209,8 @@ define(['jquery', 'underscore', 'backbone', 'app', 'models/ServerStatus', 'colle if (file) { file.set({ progress: prog.getPercent(), - eta: prog.get('eta') + eta: prog.get('eta'), + size: prog.get('total') }, {silent: true}); file.setDownloadStatus(prog.get('download').status); file.trigger('change:progress'); |