Hi Newwws,
We're not in love with the fix either. Unfortunately, we get an incredible amount of support from users who are using outdated versions of jQuery where the prop() method is not supported. It may not be our responsibility to fix their issue; however, it sure makes our lives a little easier.
With that said, I do apologize that the "fix" we implemented in the latest version actually contains an issue and has been causing some users some grief. The updated code is below and will be included in the next release.
[js]
// "prop" method fix for previous versions of jQuery
var originalPropMethod = jQuery.fn.prop;
jQuery.fn.prop = function() {
if(typeof originalPropMethod == 'undefined') {
return jQuery.fn.attr.apply(this, arguments);
} else {
return originalPropMethod.apply(this, arguments);
}
}
If you feel like giving the updated fix a spin before the release hits the auto upgrader, let me know how it goes.
Posted 13 years ago on Monday May 14, 2012 |
Permalink