diff --git a/static/scripts/app/views/dir.js b/static/scripts/app/views/dir.js index 1f0677e336..2c0b5b6e51 100644 --- a/static/scripts/app/views/dir.js +++ b/static/scripts/app/views/dir.js @@ -828,7 +828,7 @@ define([ dataType: 'json', cache: false, success: function(data) { - var progress = data.total == 0 ? '100%' : (data.zipped/data.total*100).toFixed(2) + '%'; + var progress = data.total == 0 ? '100%' : (data.zipped/data.total*100).toFixed(0) + '%'; $tip.html(packagingTip + ' ' + progress); if (data['total'] == data['zipped']) { setTimeout(function() { $.modal.close(); }, 500); diff --git a/static/scripts/app/views/dirent.js b/static/scripts/app/views/dirent.js index a5a6d74f48..1c5bdd2654 100644 --- a/static/scripts/app/views/dirent.js +++ b/static/scripts/app/views/dirent.js @@ -132,7 +132,7 @@ define([ dataType: 'json', cache: false, success: function(data) { - var progress = data.total == 0 ? '100%' : (data.zipped/data.total*100).toFixed(2) + '%'; + var progress = data.total == 0 ? '100%' : (data.zipped/data.total*100).toFixed(0) + '%'; $tip.html(packagingTip + ' ' + progress); if (data['total'] == data['zipped']) { setTimeout(function() { $.modal.close(); }, 500);