]> source.dussan.org Git - jquery-ui.git/commitdiff
Spinner: Fixed integration with globalize.
authorScott González <scott.gonzalez@gmail.com>
Wed, 10 Aug 2011 13:15:47 +0000 (09:15 -0400)
committerScott González <scott.gonzalez@gmail.com>
Wed, 10 Aug 2011 13:15:47 +0000 (09:15 -0400)
tests/unit/spinner/spinner.html
ui/jquery.ui.spinner.js

index 8afa5fab8961800ff1fcd39b1b26377138478b67..ddfb03d91dbb117c9c0dbae7f6fff08e74bcadcd 100644 (file)
@@ -8,7 +8,7 @@
 
        <script src="../../jquery.js"></script>
        <script src="../../../external/jquery.mousewheel-3.0.4.js"></script>
-       <script src="../../../external/jquery.global.js"></script>
+       <script src="../../../external/globalize.js"></script>
        <script src="../../../ui/jquery.ui.core.js"></script>
        <script src="../../../ui/jquery.ui.widget.js"></script>
        <script src="../../../ui/jquery.ui.button.js"></script>
index 7c699ef75d41a3cf12affab3e4412c898cf5e6cc..9f4a6b92197bdc338793b3c3fb35ce326082eddd 100644 (file)
@@ -371,7 +371,7 @@ $.widget( "ui.spinner", {
 
        value: function( newVal ) {
                if ( !arguments.length ) {
-                       return this._format();
+                       return this.options.value;
                }
                this.option( "value", newVal );
        },