Added closeText incase datepicker localization isnt given

This commit is contained in:
Trent 2010-11-27 14:35:24 -05:00
parent 05b4937942
commit c0de1ae8e6

View file

@ -30,6 +30,7 @@ function Timepicker() {
this.regional = []; // Available regional settings, indexed by language code this.regional = []; // Available regional settings, indexed by language code
this.regional[''] = { // Default regional settings this.regional[''] = { // Default regional settings
currentText: 'Now', currentText: 'Now',
closeText: 'Done',
ampm: false, ampm: false,
timeFormat: 'hh:mm tt', timeFormat: 'hh:mm tt',
timeOnlyTitle: 'Choose Time', timeOnlyTitle: 'Choose Time',