浏览代码

#209: The excluded: ':disabled' setting does not work on IE 8, thanks to @adgrafik

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

+ 1 - 0
CHANGELOG.md

@@ -8,6 +8,7 @@
 * [#201](https://github.com/nghuuphuoc/bootstrapvalidator/issues/201): ```choice``` validator supports select element
 * [#202](https://github.com/nghuuphuoc/bootstrapvalidator/issues/202): Activate tab containing the first invalid field
 * [#205](https://github.com/nghuuphuoc/bootstrapvalidator/issues/205): Plugin method invocation
+* [#209](https://github.com/nghuuphuoc/bootstrapvalidator/issues/209): The ```excluded: ':disabled'``` setting does not work on IE 8, thanks to [@adgrafik](https://github.com/adgrafik)
 * [#210](https://github.com/nghuuphuoc/bootstrapvalidator/issues/210): ```isbn``` validator accepts letters and special characters
 
 ## v0.4.2 (2014-04-19)

+ 1 - 1
dist/js/bootstrapValidator.js

@@ -211,7 +211,7 @@
             if ('string' == typeof this.options.excluded) {
                 this.options.excluded = $.map(this.options.excluded.split(','), function(item) {
                     // Trim the spaces
-                    return item.trim();
+                    return $.trim(item);
                 });
             }
 

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


+ 1 - 1
src/js/bootstrapValidator.js

@@ -210,7 +210,7 @@
             if ('string' == typeof this.options.excluded) {
                 this.options.excluded = $.map(this.options.excluded.split(','), function(item) {
                     // Trim the spaces
-                    return item.trim();
+                    return $.trim(item);
                 });
             }