summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-attendedsysupgrade
diff options
context:
space:
mode:
authorPaul Spooren <spooren@informatik.uni-leipzig.de>2018-03-16 18:52:48 +0100
committerPaul Spooren <spooren@informatik.uni-leipzig.de>2018-03-16 18:52:48 +0100
commit6551f5c1395a4e5167c06e9f014e5cb0436804a9 (patch)
tree90a259b89a7d767235fcb8765599adf739e8946a /applications/luci-app-attendedsysupgrade
parentb2fbfedc7e421968c65b0002182fdd0064a3edfa (diff)
luci-app-attendedsysupgrade: fixup missing package
Signed-off-by: Paul Spooren <spooren@informatik.uni-leipzig.de>
Diffstat (limited to 'applications/luci-app-attendedsysupgrade')
-rw-r--r--applications/luci-app-attendedsysupgrade/root/www/luci-static/resources/attendedsysupgrade.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-attendedsysupgrade/root/www/luci-static/resources/attendedsysupgrade.js b/applications/luci-app-attendedsysupgrade/root/www/luci-static/resources/attendedsysupgrade.js
index 604074ad3..60f586ded 100644
--- a/applications/luci-app-attendedsysupgrade/root/www/luci-static/resources/attendedsysupgrade.js
+++ b/applications/luci-app-attendedsysupgrade/root/www/luci-static/resources/attendedsysupgrade.js
@@ -373,7 +373,7 @@ function server_request(request_dict, path, callback) {
error_box("No firmware created due to image size. Try again with less packages selected.")
} else if (request.status === 422) {
- var package_missing = response.getResponseHeader("X-Unknown-Package");
+ var package_missing = request.getResponseHeader("X-Unknown-Package");
error_box("Unknown package in request: <b>" + package_missing + "</b>")
} else if (request.status === 500) {
request_json = JSON.parse(request_text)