RT# 75817 - Added the ability to set contacts password on the backend
[freeside.git] / 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);