diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2011-01-18 14:16:13 +0100 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2011-01-18 14:16:13 +0100 |
commit | 086131b937b3b71a272a4521932a3c44a399261b (patch) | |
tree | 9ea742f3b376b71036f6cbd6aa3d5f82e82a100e /external | |
parent | 6a79c708526b846ccbcdf9578efc168c23261182 (diff) | |
download | jquery-ui-086131b937b3b71a272a4521932a3c44a399261b.tar.gz jquery-ui-086131b937b3b71a272a4521932a3c44a399261b.zip |
Update to latest jquery-global plugin
Diffstat (limited to 'external')
-rw-r--r-- | external/jquery.global.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/external/jquery.global.js b/external/jquery.global.js index 8aac5fdbe..29ae5c637 100644 --- a/external/jquery.global.js +++ b/external/jquery.global.js @@ -152,6 +152,12 @@ Globalization.parseInt = function(value, radix, culture) { return Math.floor( this.parseFloat( value, radix, culture ) ); } Globalization.parseFloat = function(value, radix, culture) { + // make radix optional + if (typeof radix === "string") { + culture = radix; + radix = 10; + } + culture = this.findClosestCulture( culture ); var ret = NaN, nf = culture.numberFormat; |