diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2018-03-19 17:27:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-19 17:27:50 +0200 |
commit | 94d9bfb1da3d0bfd21b1e857b270b248f03b8a00 (patch) | |
tree | 2d662c312064ea351e2bf27d464990c455cf3cf7 | |
parent | c575c78d2f0cfeef6e53583697abf8d964be04c3 (diff) | |
parent | 6551f5c1395a4e5167c06e9f014e5cb0436804a9 (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.js | 2 |
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 604074ad37..60f586ded4 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) |