summaryrefslogtreecommitdiff
path: root/httemplate/edit/cust_main-contacts.html
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-09-04 08:30:35 -0400
committerChristopher Burger <burgerc@freeside.biz>2018-09-04 08:30:35 -0400
commit8ca45ec1f1ab960ee1e262ee764f05d214728d05 (patch)
tree38bb540c1140d39395a342722929ad0afca67420 /httemplate/edit/cust_main-contacts.html
parent5e2b0a5efb81642e86f7704a528767c2ea2961ca (diff)
RT# 75817 - Added password change link to cust main page
Diffstat (limited to 'httemplate/edit/cust_main-contacts.html')
-rw-r--r--httemplate/edit/cust_main-contacts.html20
1 files changed, 11 insertions, 9 deletions
diff --git a/httemplate/edit/cust_main-contacts.html b/httemplate/edit/cust_main-contacts.html
index 3783cb9e9..7c5a78209 100644
--- a/httemplate/edit/cust_main-contacts.html
+++ b/httemplate/edit/cust_main-contacts.html
@@ -5,18 +5,20 @@ this one isn't being maintained well. :/
</%doc>
- <SCRIPT>
-function checkPasswordValidation(fieldid) {
- var validationResult = document.getElementById(fieldid+'_result').innerHTML;
- if (validationResult.match(/Password valid!/)) {
- return true;
+<SCRIPT>
+ function checkPasswordValidation(fieldid) {
+ var validationResult = document.getElementById(fieldid+'_result').innerHTML;
+ if (validationResult.match(/Password valid!/)) {
+ return true;
+ }
+ else {
+ return false;
+ }
}
- else {
- return false;
- }
-}
</SCRIPT>
+<& '/elements/validate_password_js.html', &>
+
<& elements/edit.html,
'name_singular' => 'customer contacts', #yes, we're editing all of them
'table' => 'cust_main',