diff options
Diffstat (limited to 'pyload/web/app/scripts/views/headerView.js')
-rw-r--r-- | pyload/web/app/scripts/views/headerView.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/pyload/web/app/scripts/views/headerView.js b/pyload/web/app/scripts/views/headerView.js index 1fad32642..49298d450 100644 --- a/pyload/web/app/scripts/views/headerView.js +++ b/pyload/web/app/scripts/views/headerView.js @@ -233,13 +233,8 @@ define(['jquery', 'underscore', 'backbone', 'app', 'models/ServerStatus', 'colle if (prog.isDownload() && App.dashboard.files) { var file = App.dashboard.files.get(prog.get('download').fid); if (file) { - file.set({ - progress: prog.getPercent(), - eta: prog.get('eta'), - size: prog.get('total') - }, {silent: true}); file.setDownloadStatus(prog.get('download').status); - file.trigger('change:progress'); + file.trigger('change:progress', prog); } } }); |