This commit is contained in:
j 2014-08-07 11:49:59 +02:00
commit 462be8859e
2 changed files with 19 additions and 21 deletions

View file

@ -11,8 +11,8 @@ function update() {
var xhr = new XMLHttpRequest();
xhr.onload = function() {
var response = JSON.parse(this.responseText);
if (response.installing) {
var status = response.installing;
if (response.step) {
var status = response.step;
if (response.progress) {
status = parseInt(response.progress * 100) + '% ' + status;
}