mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Datepicker: Refactor _updateAlternate() method
Closes gh-1647
This commit is contained in:
committed by
Scott González
parent
0cc197a421
commit
cd7f8f02cf
@@ -1089,7 +1089,7 @@ $.extend( Datepicker.prototype, {
|
||||
altFormat = this._get( inst, "altFormat" ) || this._get( inst, "dateFormat" );
|
||||
date = this._getDate( inst );
|
||||
dateStr = this.formatDate( altFormat, date, this._getFormatConfig( inst ) );
|
||||
$( altField ).each( function() { $( this ).val( dateStr ); } );
|
||||
$( altField ).val( dateStr );
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user