From 85b67625f74031186b9ffa26c966082275796868 Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Sat, 29 Dec 2018 14:10:10 +0000 Subject: treewide: fix redirecting to System->Software By replacing url "admin/system/packages" with "admin/system/opkg" Signed-off-by: Yousong Zhou --- .../htdocs/luci-static/resources/view/network/network.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/luci-mod-network/htdocs/luci-static/resources/view') diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/network.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/network.js index acca7cf8a5..777a874340 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/network.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/network.js @@ -113,7 +113,7 @@ L.poll(5, L.url('admin/network/iface_status', networks.join(',')), null, var e = document.getElementById(ifc.id + '-ifc-edit'); if (e) e.disabled = true; - var link = L.url('admin/system/packages') + '?query=luci-proto&display=available'; + var link = L.url('admin/system/opkg') + '?query=luci-proto&display=available'; L.dom.content(d, [ E('em', _('Unsupported protocol type.')), E('br'), E('a', { href: link }, _('Install protocol extensions...')) -- cgit v1.2.3