luci-mod-network: fix page refresh after interface reconnect

Submitted-by: "taeasy" <88336@live.com>
[reword commit subject]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2019-02-26 09:43:39 +08:00
parent f8166387bf
commit 5624b36fa7

View 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), nullL.run);
}
function iface_delete(ev) {