RT# 75817 - Added the ability to set contacts password on the backend
authorChristopher Burger <burgerc@freeside.biz>
Tue, 20 Jun 2017 13:04:14 +0000 (09:04 -0400)
committerChristopher Burger <burgerc@freeside.biz>
Fri, 18 Aug 2017 16:49:49 +0000 (12:49 -0400)
Conflicts:
httemplate/elements/validate_password.html
httemplate/misc/xmlhttp-validate_password.html

httemplate/elements/validate_password.html

index 01e8b94..cb15029 100644 (file)
@@ -28,11 +28,7 @@ function add_password_validation (fieldid) {
     var resultfield = document.getElementById(fieldid);
     if (this.value) {
       resultfield.innerHTML = '<SPAN STYLE="color: blue;">Validating password...</SPAN>';
-      validate_password('fieldid',fieldid,
-                        'svcnum',<% $opt{'svcnum'} |js_string %>,
-                        'pkgnum',<% $opt{'pkgnum'} |js_string %>,
-                        'contactnum',<% $opt{'contactnum'} |js_string %>,
-                        'password',this.value,
+      validate_password('fieldid',fieldid,'svcnum','<% $opt{'svcnum'} |js_string %>','pkgnum','<% $opt{'pkgnum'} |js_string %>','contactnum','<% $opt{'contactnum'} |js_string %>','password',this.value,
         function (result) {
           result = JSON.parse(result);
           var resultfield = document.getElementById(result.fieldid);