From 241b90c7f66dd08bca4ff89ea7cfe8aed9823bdd Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 22 Nov 2018 14:47:56 +0100 Subject: [PATCH] luci-base: do not trigger form action when revealing password Ref: https://github.com/openwrt/luci/issues/2327 Signed-off-by: Jo-Philipp Wich --- modules/luci-base/luasrc/view/cbi/value.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/luci-base/luasrc/view/cbi/value.htm b/modules/luci-base/luasrc/view/cbi/value.htm index 79a358b30..27f3cb2bd 100644 --- a/modules/luci-base/luasrc/view/cbi/value.htm +++ b/modules/luci-base/luasrc/view/cbi/value.htm @@ -21,6 +21,6 @@ ifattr(#self.keylist > 0, "data-choices", { self.keylist, self.vallist }) %> /> <%- if self.password then -%> - + <% end %> <%+cbi/valuefooter%> -- 2.25.1