projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
609f529
)
luci-base: hide autocomplete-preventing password input with bigger offset
author
Yousong Zhou
<yszhou4tech@gmail.com>
Fri, 28 Jun 2019 16:03:37 +0000
(16:03 +0000)
committer
Yousong Zhou
<yszhou4tech@gmail.com>
Sat, 6 Jul 2019 14:48:10 +0000
(22:48 +0800)
Fixes openwrt/luci#2624
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
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 27f3cb2bd9efc6aa38dd431e2eda89e2db57ac1d..144853fd9f65c08415c90a05c38f687aeeb78af4 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" tabindex="-1"<%=
+ <input type="password" style="position:absolute; left:-1000
00
px" aria-hidden="true" tabindex="-1"<%=
attr("name", "password." .. cbid)
%> />
<%- end -%>