projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98d4eb1
)
luci-base: remove fake password field from tab order
author
Jo-Philipp Wich
<jo@mein.io>
Fri, 17 Aug 2018 04:58:53 +0000
(06:58 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Fri, 17 Aug 2018 04:58:53 +0000
(06:58 +0200)
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>
modules/luci-base/luasrc/view/cbi/value.htm
patch
|
blob
|
history
diff --git
a/modules/luci-base/luasrc/view/cbi/value.htm
b/modules/luci-base/luasrc/view/cbi/value.htm
index 24fb428e65649f2fb75f3570ba07f3a1bb24a764..8eec865348c3ecec9ddf7d1f981565ee0d1b0663 100644
(file)
--- 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 -%>