summaryrefslogtreecommitdiff
path: root/httemplate/elements/random_pass.html
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-09-25 13:19:46 -0400
committerChristopher Burger <burgerc@freeside.biz>2018-09-26 08:45:09 -0400
commit0b3d0d9c60140d487634a947eb1b3d2eb2af91ad (patch)
tree407f61842736841300fab5a53d3ee2f28b6fe194 /httemplate/elements/random_pass.html
parent4fdfe871a80ff796146218fd226e46be97698e0f (diff)
RT# 75817 - fixed selecting random password on custmain page
Diffstat (limited to 'httemplate/elements/random_pass.html')
-rw-r--r--httemplate/elements/random_pass.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/httemplate/elements/random_pass.html b/httemplate/elements/random_pass.html
index 778aa20e6..3a632b9af 100644
--- a/httemplate/elements/random_pass.html
+++ b/httemplate/elements/random_pass.html
@@ -19,6 +19,7 @@ function <% $id %>randomPass() {
for(var j, x, i = pass.length; i; j = Math.floor(Math.random() * i), x = pass[--i], pass[i] = pass[j], pass[j] = x);
pass = pass.join('');
document.getElementById('<% $id %>').value = pass;
+ document.getElementById('<% $id %>_result').innerHTML = '<IMG SRC="<% $p %>images/tick.png" style="width: 1em; display: inline-block; padding-right: .5em"> <SPAN STYLE="color: green;">Password valid!</SPAN>';
% if ($submitid) {
document.getElementById('<% $submitid %>').disabled = false;
% }