diff options
author | Trent Richardson <trentdrichardson@gmail.com> | 2014-09-30 16:18:07 -0400 |
---|---|---|
committer | Trent Richardson <trentdrichardson@gmail.com> | 2014-09-30 16:18:07 -0400 |
commit | 47ddf940337679393a9049f09ef25d64611e2bea (patch) | |
tree | 395b281020a54b0f91a563b2544a0f6e3baa5385 /dist/jquery-ui-timepicker-addon.js | |
parent | 6db7a1f5b131d25f50e7b545e97319d563ac4dc9 (diff) | |
download | jQuery-Timepicker-Addon-47ddf940337679393a9049f09ef25d64611e2bea.zip jQuery-Timepicker-Addon-47ddf940337679393a9049f09ef25d64611e2bea.tar.gz jQuery-Timepicker-Addon-47ddf940337679393a9049f09ef25d64611e2bea.tar.bz2 |
Fixes #764 - Parse fails with altField with just time
Diffstat (limited to 'dist/jquery-ui-timepicker-addon.js')
-rw-r--r-- | dist/jquery-ui-timepicker-addon.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/jquery-ui-timepicker-addon.js b/dist/jquery-ui-timepicker-addon.js index 884f221..09eb92a 100644 --- a/dist/jquery-ui-timepicker-addon.js +++ b/dist/jquery-ui-timepicker-addon.js @@ -307,7 +307,7 @@ * add our sliders to the calendar */ _addTimePicker: function (dp_inst) { - var currDT = (this.$altInput && this._defaults.altFieldTimeOnly) ? this.$input.val() + ' ' + this.$altInput.val() : this.$input.val(); + var currDT = $.trim((this.$altInput && this._defaults.altFieldTimeOnly) ? this.$input.val() + ' ' + this.$altInput.val() : this.$input.val()); this.timeDefined = this._parseTime(currDT); this._limitMinMaxDateTime(dp_inst, false); |