From 086131b937b3b71a272a4521932a3c44a399261b Mon Sep 17 00:00:00 2001 From: jzaefferer Date: Tue, 18 Jan 2011 14:16:13 +0100 Subject: Update to latest jquery-global plugin --- external/jquery.global.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'external') 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; -- cgit v1.2.3