luci-mod-network: fix page refresh after interface reconnect
authorJo-Philipp Wich <jo@mein.io>
Tue, 26 Feb 2019 01:43:39 +0000 (09:43 +0800)
committerJo-Philipp Wich <jo@mein.io>
Mon, 8 Apr 2019 06:21:30 +0000 (08:21 +0200)
Submitted-by: "taeasy" <88336@live.com>
[reword commit subject]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/network.js

index 40624e741eedd4feb0bfd0ddee5c0fd469091729..40103970f9d08170b8dc343c3744faa371c5b36d 100644 (file)
@@ -1,7 +1,7 @@
 function iface_reconnect(id) {
        L.halt();
        L.dom.content(document.getElementById(id + '-ifc-description'), E('em', _('Interface is reconnecting...')));
-       L.post(L.url('admin/network/iface_reconnect', id), L.run);
+       L.post(L.url('admin/network/iface_reconnect', id), null,L.run);
 }
 
 function iface_delete(ev) {