luci-app-nlbwmon: change force reload html element to button

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert 2021-06-17 12:26:24 +02:00
parent 6f6ec9f56c
commit d6443a6293

View file

@ -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…'))
]));