summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-08-17 06:58:53 +0200
committerJo-Philipp Wich <jo@mein.io>2018-08-17 06:58:53 +0200
commit8c77975d1bfc9f79580b83f5b5e591b8b4cae67f (patch)
tree2acc7bcca30d156a95e107fb95d916a4b9d9da61
parent98d4eb1695ae5723cd7bd785d18284e633e26cc8 (diff)
luci-base: remove fake password field from tab order
Set a negative tabindex on the dummy password field to not break the form tab order flow. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--modules/luci-base/luasrc/view/cbi/value.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/view/cbi/value.htm b/modules/luci-base/luasrc/view/cbi/value.htm
index 24fb428e65..8eec865348 100644
--- a/modules/luci-base/luasrc/view/cbi/value.htm
+++ b/modules/luci-base/luasrc/view/cbi/value.htm
@@ -1,6 +1,6 @@
<%+cbi/valueheader%>
<%- if self.password then -%>
- <input type="password" style="position:absolute; left:-1000px" aria-hidden="true"<%=
+ <input type="password" style="position:absolute; left:-1000px" aria-hidden="true" tabindex="-1"<%=
attr("name", "password." .. cbid)
%> />
<%- end -%>