Commit 61c08d0e292a5820bc401a86abb6d334f5461e72

cleanup

Commit diff

public/javascripts/calendar_date_select/calendar_date_select.js

 
9292 valid_date_check: nil
9393 }).merge(options || {});
9494
95 this.selection_made = $F(this.target_element).strip()!=="";
9695 this.use_time = this.options.get("time");
9796
9897 this.callback("before_show")
342342 parseDate: function()
343343 {
344344 var value = $F(this.target_element).strip()
345 this.selection_made = (value != "");
345346 this.date = value=="" ? NaN : Date.parseFormattedString(this.options.get("date") || value);
346347 if (isNaN(this.date)) this.date = new Date();
347348 if (!this.validYear(this.date.getFullYear())) this.date.setYear( (this.date.getFullYear() < this.yearRange().start) ? this.yearRange().start : this.yearRange().end);
toggle raw diff