Spinner: Fixed integration with globalize.

This commit is contained in:
Scott González 2011-08-10 09:15:47 -04:00
parent 56e9cd7119
commit de7fd4c130
2 changed files with 2 additions and 2 deletions

View 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>

View 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 );
},