summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2021-06-16 14:01:03 +0200
committerFlorian Eckert <fe@dev.tdt.de>2021-06-17 08:14:47 +0200
commit7a365183296f385bb8cb14b8eb6fcfc29941c7e4 (patch)
treea621a11901d9021a7dfd3b14a9e721f751c7657f /applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/display.js
parent19e237d0155819c467395033907b4790409c81a4 (diff)
luci-app-nlbwmon: fix url
When moving this application to the service section, the links were forgotten to be changed. 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.js10
1 files changed, 8 insertions, 2 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 ccef949fb0..b7455c2035 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
@@ -421,7 +421,10 @@ return view.extend({
cbi_update_table('#layer7-data', rows, E('em', [
_('No data recorded yet.'), ' ',
- E('a', { 'href': L.url('admin/nlbw/commit') }, _('Force reload…'))
+ E('a', {
+ 'href': '#',
+ 'click': ui.createHandlerFn(this, 'handleCommit')
+ }, _('Force reload…'))
]));
this.pie('layer7-rx-pie', rxData);
@@ -525,7 +528,10 @@ return view.extend({
cbi_update_table('#ipv6-data', rows, E('em', [
_('No data recorded yet.'), ' ',
- E('a', { 'href': L.url('admin/nlbw/commit') }, _('Force reload…'))
+ E('a', {
+ 'href': '#',
+ 'click': ui.createHandlerFn(this, 'handleCommit')
+ }, _('Force reload…'))
]));
var shareData = [], hostsData = [];