From: Scott González Date: Wed, 10 Aug 2011 13:15:47 +0000 (-0400) Subject: Spinner: Fixed integration with globalize. X-Git-Tag: 1.9m6~37 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=de7fd4c130d000c001a2c838de0bf873446145df;p=jquery-ui.git Spinner: Fixed integration with globalize. --- diff --git a/tests/unit/spinner/spinner.html b/tests/unit/spinner/spinner.html index 8afa5fab8..ddfb03d91 100644 --- a/tests/unit/spinner/spinner.html +++ b/tests/unit/spinner/spinner.html @@ -8,7 +8,7 @@ - + diff --git a/ui/jquery.ui.spinner.js b/ui/jquery.ui.spinner.js index 7c699ef75..9f4a6b921 100644 --- a/ui/jquery.ui.spinner.js +++ b/ui/jquery.ui.spinner.js @@ -371,7 +371,7 @@ $.widget( "ui.spinner", { value: function( newVal ) { if ( !arguments.length ) { - return this._format(); + return this.options.value; } this.option( "value", newVal ); },