diff --git a/static/index.html b/static/index.html
index 0c1195e..1403ca1 100644
--- a/static/index.html
+++ b/static/index.html
@@ -252,7 +252,7 @@
}
if (e.is_launcher) {
- document.getElementById("window-title").innerText = config.name + " Updater";
+ document.getElementById("window-title").innerText = app.attrs.name + " Updater";
app.is_launcher = true;
app.install();
diff --git a/static/js/helpers.js b/static/js/helpers.js
index e107a7f..0eaf43a 100644
--- a/static/js/helpers.js
+++ b/static/js/helpers.js
@@ -26,7 +26,7 @@ function ajax(path, successCallback, failCallback, data) {
if (this.status === 200 && this.getResponseHeader('Content-Type').indexOf("application/json") !== -1) {
successCallback(JSON.parse(this.responseText));
} else {
- failCallback();
+ failCallback(this.responseText);
}
});
req.addEventListener("error", failCallback);
@@ -69,7 +69,7 @@ function stream_ajax(path, callback, successCallback, failCallback, data) {
if (this.status === 200) {
successCallback(this.responseText);
} else {
- failCallback();
+ failCallback(this.responseText);
}
});