diff options
| author | Robert | 2017-06-23 11:43:56 +0200 | 
|---|---|---|
| committer | Robert | 2017-06-23 11:51:48 +0200 | 
| commit | 970954938043d8d73c4457ee2d91e22c0e422e65 (patch) | |
| tree | 8c633f0437b0bd76c21d40d3bc7225230d8ce61f /app/controllers/calendars_controller.rb | |
| parent | d51985fc2a7c2138fd12cb9116ebf05d8b0e7dac (diff) | |
| download | chouette-core-970954938043d8d73c4457ee2d91e22c0e422e65.tar.bz2 | |
JS for date validation
Diffstat (limited to 'app/controllers/calendars_controller.rb')
| -rw-r--r-- | app/controllers/calendars_controller.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/controllers/calendars_controller.rb b/app/controllers/calendars_controller.rb index a2bfe9b63..415ebcaeb 100644 --- a/app/controllers/calendars_controller.rb +++ b/app/controllers/calendars_controller.rb @@ -50,7 +50,7 @@ class CalendarsController < BreadcrumbController          date << params[:q][key].to_i          params[:q].delete(key)        end -      params[:q]['contains_date'] = Date.new(*date) +      params[:q]['contains_date'] = Date.new(*date) rescue nil      end    end | 
