浏览代码

#356: Declare the group variable before using it

phuoc 11 年之前
父节点
当前提交
4be6cf3c01
共有 3 个文件被更改,包括 4 次插入4 次删除
  1. 1 1
      dist/js/bootstrapValidator.js
  2. 2 2
      dist/js/bootstrapValidator.min.js
  3. 1 1
      src/js/bootstrapValidator.js

+ 1 - 1
dist/js/bootstrapValidator.js

@@ -1281,7 +1281,7 @@
          * It will remove all error messages, feedback icons and turn off the events
          */
         destroy: function() {
-            var field, fields, $field, validator, $icon, container;
+            var field, fields, $field, validator, $icon, container, group;
             for (field in this.options.fields) {
                 fields    = this.getFieldElements(field);
                 container = this.options.fields[field].container || this.options.container,

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


+ 1 - 1
src/js/bootstrapValidator.js

@@ -1280,7 +1280,7 @@
          * It will remove all error messages, feedback icons and turn off the events
          */
         destroy: function() {
-            var field, fields, $field, validator, $icon, container;
+            var field, fields, $field, validator, $icon, container, group;
             for (field in this.options.fields) {
                 fields    = this.getFieldElements(field);
                 container = this.options.fields[field].container || this.options.container,