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:
4235fb0
)
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 15:10:25 +0000
(15:10 +0000)
Fixes openwrt/luci#2624
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry picked from commit
3a24c2dbaa9b781504bb2847153e2514bcbe717e
)
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 8eec865348c3ecec9ddf7d1f981565ee0d1b0663..fec56fac16d96a12adb35cbf930a04435acc6a18 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 -%>