diff options
| author | Paul Spooren <mail@aparcar.org> | 2021-08-22 00:07:20 -1000 |
|---|---|---|
| committer | Paul Spooren <mail@aparcar.org> | 2021-08-25 21:52:00 -1000 |
| commit | 53f59d35ccd6f026649d27fb6c872115ee3f0823 (patch) | |
| tree | bcf95e675cd3df9b6e25e4249957e67f13aa7965 | |
| parent | 1e65672ab21c6f5db15f718151cd3a39140a4f5d (diff) | |
luci-app-attendedsysupgrade: use detail not message
The new API unifies all human readable responses in the `detail` field
to follow the newly used framework.
Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 2a29911121bf72d5d316b2eeae7f184b8ce14482)
| -rw-r--r-- | applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js b/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js index e49252ba3a..fc179212b1 100644 --- a/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js +++ b/applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js @@ -185,7 +185,7 @@ function request_sysupgrade(server_url, data) { case 500: // build failed res = response.json() var body = [ - E('p', {}, _(res.message)), + E('p', {}, res.detail), E('p', {}, _("Please report the error message and request")), E('b', {}, _("Request to server:")), E('pre', {}, JSON.stringify(data, null, 4)), |
