diff --git a/module/zahost/js/browseimage.js b/module/zahost/js/browseimage.js index 6c8ab6b080..c0c7f8f0cd 100644 --- a/module/zahost/js/browseimage.js +++ b/module/zahost/js/browseimage.js @@ -27,8 +27,8 @@ function updateProgress() { $('.image-download-' + imageID).addClass('disabled'); $('.image-cancel-' + imageID).removeClass('disabled'); } - else if (statusList[imageID].statusCode == 'completed') - { + else if (statusList[imageID].statusCode == 'completed') + { $('.image-path-' + imageID).text(statusList[imageID].path); $('.image-path-' + imageID).attr('title', statusList[imageID].path); $('.image-download-' + imageID).addClass('disabled'); @@ -45,7 +45,7 @@ function updateProgress() { $('.image-progress-' + imageID).text(''); } $('.image-status-' + imageID).text(statusList[imageID].status); - if(statusList[imageID].progress != '') + if(statusList[imageID].progress != '' && statusList[imageID].statusCode != 'completed') { $('.image-progress-' + imageID).text(statusList[imageID].progress); } diff --git a/module/zahost/view/browseimage.html.php b/module/zahost/view/browseimage.html.php index de1d0fb181..c02d922464 100755 --- a/module/zahost/view/browseimage.html.php +++ b/module/zahost/view/browseimage.html.php @@ -46,7 +46,7 @@