From 6e2a96230f9d685d4afa0d57cd7e51086ba909fb Mon Sep 17 00:00:00 2001 From: sbwml Date: Wed, 8 Jan 2025 12:19:56 +0800 Subject: [PATCH] luci-app-mosdns: fix rule list `handleSaveApply` Signed-off-by: sbwml --- luci-app-mosdns/Makefile | 2 +- .../htdocs/luci-static/resources/view/mosdns/rules.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/luci-app-mosdns/Makefile b/luci-app-mosdns/Makefile index 39c8d26..99014cc 100644 --- a/luci-app-mosdns/Makefile +++ b/luci-app-mosdns/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-mosdns -PKG_VERSION:=1.6.8 +PKG_VERSION:=1.6.9 PKG_RELEASE:=1 LUCI_TITLE:=LuCI Support for mosdns diff --git a/luci-app-mosdns/htdocs/luci-static/resources/view/mosdns/rules.js b/luci-app-mosdns/htdocs/luci-static/resources/view/mosdns/rules.js index 9d487bd..b58ca70 100644 --- a/luci-app-mosdns/htdocs/luci-static/resources/view/mosdns/rules.js +++ b/luci-app-mosdns/htdocs/luci-static/resources/view/mosdns/rules.js @@ -244,6 +244,7 @@ return view.extend({ }, handleSaveApply: function (ev) { + var m = this.map; onclick = L.bind(this.handleSave, this, m); return fs.exec('/etc/init.d/mosdns', ['restart']); },