WL-450 Fix for issue with canceling changes to image upload fields

This commit is contained in:
Douglas Hall
2016-05-18 12:29:18 -04:00
parent 16e9f9c6c7
commit bb55917f03

View File

@@ -75,6 +75,9 @@ var DetailsView = ValidatingView.extend({
},
render: function() {
// Clear any image preview timeouts set in this.updateImagePreview
clearTimeout(this.imageTimer);
DateUtils.setupDatePicker('start_date', this);
DateUtils.setupDatePicker('end_date', this);
DateUtils.setupDatePicker('enrollment_start', this);