vendor/assets/javascripts/base/_datepicker.js in active_frontend-15.0.21 vs vendor/assets/javascripts/base/_datepicker.js in active_frontend-15.0.22
- old
+ new
@@ -291,9 +291,13 @@
Datepicker.prototype.setVal = function () {
var value = this.getFormattedDate();
this.$element.val(value);
+ $.event.trigger({
+ type: 'datepickerOnSetVal',
+ value: value
+ });
this.options.onSetValCallback(value);
};
Datepicker.prototype.setDate = function (date, which) {
if (!which || which === 'date') this.toggleMultidate(date && new Date(date));