diff options
author | Florian Eckert <fe@dev.tdt.de> | 2021-06-17 12:26:24 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2021-06-17 12:26:24 +0200 |
commit | d6443a629362f7ed79d1212cd964e5d6a127a9c0 (patch) | |
tree | b2e8fa496cdee454053cd45a3978f3860cdc2f63 /applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js | |
parent | 6f6ec9f56cc24be9f432b0a88a29f46277dad7d5 (diff) |
luci-app-nlbwmon: change force reload html element to button
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js')
-rw-r--r-- | applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js b/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js index b7455c2035..029e195242 100644 --- a/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js +++ b/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js @@ -361,8 +361,8 @@ return view.extend({ cbi_update_table('#host-data', rows, E('em', [ _('No data recorded yet.'), ' ', - E('a', { - 'href': '#', + E('button', { + 'class': 'cbi-button', 'click': ui.createHandlerFn(this, 'handleCommit') }, _('Force reload…')) ])); @@ -421,8 +421,8 @@ return view.extend({ cbi_update_table('#layer7-data', rows, E('em', [ _('No data recorded yet.'), ' ', - E('a', { - 'href': '#', + E('button', { + 'class': 'cbi-button', 'click': ui.createHandlerFn(this, 'handleCommit') }, _('Force reload…')) ])); @@ -528,8 +528,8 @@ return view.extend({ cbi_update_table('#ipv6-data', rows, E('em', [ _('No data recorded yet.'), ' ', - E('a', { - 'href': '#', + E('button', { + 'class': 'cbi-button', 'click': ui.createHandlerFn(this, 'handleCommit') }, _('Force reload…')) ])); |