ソースを参照

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

nghuuphuoc 11 年 前
コミット
239327870d

+ 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);
                 });
             }