From b92f82ad1f8bb572395fc1b843d409fafb3fc0d3 Mon Sep 17 00:00:00 2001 From: pedrolab <531310-pedrolab@users.noreply.gitlab.com> Date: Fri, 21 Feb 2020 10:27:27 +0100 Subject: [PATCH] luci-app-bmx6: bugfix format to query bmx6-info - affected three tab luci templates (even with luci-compat installed) - fixes #548 - as jow said in #548: - it might be that modern LuCI escapes it as %24 while old versions passed it on as-is - bmx6-info removes it anyway https://github.com/openwrt-routing/packages/blob/master/luci-app-bmx6/bmx6/www/cgi-bin/bmx6-info#L22 you can probably just remove it in all three tab templates --- luci-app-bmx6/Makefile | 2 +- luci-app-bmx6/bmx6/usr/lib/lua/luci/view/bmx6/nodes_j.htm | 2 +- luci-app-bmx6/bmx6/usr/lib/lua/luci/view/bmx6/status_j.htm | 2 +- luci-app-bmx6/bmx6/usr/lib/lua/luci/view/bmx6/tunnels_j.htm | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/luci-app-bmx6/Makefile b/luci-app-bmx6/Makefile index bb37c20..6ee9390 100644 --- a/luci-app-bmx6/Makefile +++ b/luci-app-bmx6/Makefile @@ -20,7 +20,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-bmx6 -PKG_RELEASE:=5 +PKG_RELEASE:=6 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) PKG_LICENSE:=GPL-2.0+ diff --git a/luci-app-bmx6/bmx6/usr/lib/lua/luci/view/bmx6/nodes_j.htm b/luci-app-bmx6/bmx6/usr/lib/lua/luci/view/bmx6/nodes_j.htm index 8ebd5ee..6a43e2d 100644 --- a/luci-app-bmx6/bmx6/usr/lib/lua/luci/view/bmx6/nodes_j.htm +++ b/luci-app-bmx6/bmx6/usr/lib/lua/luci/view/bmx6/nodes_j.htm @@ -87,7 +87,7 @@ document.getElementById('extra-info').innerHTML = document.getElementById(id).innerHTML; } - new TablePooler(5,"/cgi-bin/bmx6-info", {'$neighbours':''}, "descriptions_table", function(st){ + new TablePooler(5,"/cgi-bin/bmx6-info", {'neighbours':''}, "descriptions_table", function(st){ var infoicon = "<%=resource%>/bmx6/world_small.png"; var nodeicon = "<%=resource%>/bmx6/world.png"; var originators = st.neighbours[0].originators; diff --git a/luci-app-bmx6/bmx6/usr/lib/lua/luci/view/bmx6/status_j.htm b/luci-app-bmx6/bmx6/usr/lib/lua/luci/view/bmx6/status_j.htm index bf21106..55015a0 100644 --- a/luci-app-bmx6/bmx6/usr/lib/lua/luci/view/bmx6/status_j.htm +++ b/luci-app-bmx6/bmx6/usr/lib/lua/luci/view/bmx6/status_j.htm @@ -63,7 +63,7 @@ Visit bmx6.net for more info.