summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2018-03-19 17:27:50 +0200
committerGitHub <noreply@github.com>2018-03-19 17:27:50 +0200
commit94d9bfb1da3d0bfd21b1e857b270b248f03b8a00 (patch)
tree2d662c312064ea351e2bf27d464990c455cf3cf7
parentc575c78d2f0cfeef6e53583697abf8d964be04c3 (diff)
parent6551f5c1395a4e5167c06e9f014e5cb0436804a9 (diff)
Merge pull request #1689 from aparcar/asu-fixup
luci-app-attendedsysupgrade: fixup missing package
-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)