Merge branch 'vorapoap-master' into dev
This commit is contained in:
commit
ee16a9a1ca
18
jquery-ui-timepicker-addon.js
vendored
18
jquery-ui-timepicker-addon.js
vendored
|
@ -597,10 +597,20 @@ $.extend(Timepicker.prototype, {
|
||||||
if (dp_inst.lastVal !== undefined && (dp_inst.lastVal.length > 0 && this.$input.val().length === 0))
|
if (dp_inst.lastVal !== undefined && (dp_inst.lastVal.length > 0 && this.$input.val().length === 0))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (this._defaults.timeOnly === true) formattedDateTime = this.formattedTime;
|
if (this._defaults.timeOnly === true) {
|
||||||
else if (this._defaults.timeOnly !== true && (this._defaults.alwaysSetTime || timeAvailable)) {
|
formattedDateTime = this.formattedTime;
|
||||||
if (this.$altInput) this.$altInput.val(this.formattedTime);
|
if (this.$altInput) {
|
||||||
else formattedDateTime += ' ' + this.formattedTime;
|
this.$altInput.val(this.formattedDateTime);
|
||||||
|
}
|
||||||
|
} else if (this._defaults.timeOnly !== true && (this._defaults.alwaysSetTime || timeAvailable)) {
|
||||||
|
if (this.$altInput) {
|
||||||
|
if (this._defaults.timeOnly !== true) {
|
||||||
|
this.$altInput.val(this.$altInput.val() + ' ' + this.formattedTime);
|
||||||
|
} else {
|
||||||
|
this.$altInput.val(this.formattedDateTime);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
formattedDateTime += ' ' + this.formattedTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.formattedDateTime = formattedDateTime;
|
this.formattedDateTime = formattedDateTime;
|
||||||
|
|
Loading…
Reference in a new issue