Browse Source

update fix check ajax twice when submit

khangvu 12 years ago
parent
commit
2e9b328ef1
2 changed files with 1 additions and 2 deletions
  1. 0 1
      dist/js/bootstrapValidator.js
  2. 1 1
      dist/js/bootstrapValidator.min.js

+ 0 - 1
dist/js/bootstrapValidator.js

@@ -414,7 +414,6 @@
             }).success(function(response) {
                 var isValid =  response.valid === true || response.valid === 'true';
                 validator.completeRequest($field, 'remote', isValid);
-                console.log('success',validator.numPendingRequests);
             });
             validator.startRequest($field, 'remote', xhr);
 

File diff suppressed because it is too large
+ 1 - 1
dist/js/bootstrapValidator.min.js