diff options
author | Stan Grishin <stangri@melmac.net> | 2021-10-06 21:43:38 +0000 |
---|---|---|
committer | Stan Grishin <stangri@melmac.net> | 2021-10-06 21:48:15 +0000 |
commit | c939330e95e5e62dae70eae33853c83547a69994 (patch) | |
tree | bda1697805f8da9317f475909d4c55f4dc50620a /applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system | |
parent | c8d9819c9a54eb4854157bd1eb0f9c540621b2b4 (diff) |
luci-app-advanced-reboot: bugfix for Linksys E4200v2
* bugfix for Linksys E4200v2
* minor code changes
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system')
-rw-r--r-- | applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js b/applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js index f4acb8285d..482b8e2e91 100644 --- a/applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js +++ b/applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js @@ -197,7 +197,7 @@ return view.extend({ if (device_info.error) body.appendChild(E('p', { 'class' : 'alert-message warning'}, _("ERROR: ") + this.translateTable[device_info.error]())); - body.appendChild(E('h3', device_info.device_name + _(' Partitions'))); + body.appendChild(E('h3', (device_info.device_name || '') + _(' Partitions'))); if (device_info.device_name) { var partitions_table = E('table', { 'class': 'table' }, [ E('tr', { 'class': 'tr table-titles' }, [ |