浏览代码

update fix check ajax twice when submit

khangvu 12 年之前
父节点
当前提交
2e9b328ef1
共有 2 个文件被更改,包括 1 次插入2 次删除
  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);
 

文件差异内容过多而无法显示
+ 1 - 1
dist/js/bootstrapValidator.min.js