From d6443a629362f7ed79d1212cd964e5d6a127a9c0 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Thu, 17 Jun 2021 12:26:24 +0200 Subject: [PATCH] luci-app-nlbwmon: change force reload html element to button Signed-off-by: Florian Eckert --- .../luci-static/resources/view/nlbw/display.js | 12 ++++++------ 1 file 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…')) ])); -- 2.30.2