vendor/assets/javascripts/webshims/shims/form-shim-extend.js in webshims-rails-1.14.4 vs vendor/assets/javascripts/webshims/shims/form-shim-extend.js in webshims-rails-1.14.5
- old
+ new
@@ -390,10 +390,10 @@
image: 1
}
;
return function(){
var elem = $(this).getNativeElement()[0];
- return !!(!elem.readOnly && !types[elem.type] && !$(elem).is(':disabled') );
+ return !!(!elem.readOnly && !types[elem.type] && !$.find.matchesSelector(elem, ':disabled') );
};
})()
},
validity: {
writeable: false,