diff options
| author | cedricnjanga | 2017-09-06 01:06:47 +0200 |
|---|---|---|
| committer | cedricnjanga | 2017-09-06 09:47:25 +0200 |
| commit | 53804667d4ba62e29ff687995dfa6d2566139075 (patch) | |
| tree | 2a1ca835d7d7abccc2e905c6872333ff4916fbb5 /spec/support/with_commit.rb | |
| parent | bcea52e515f1eef544da5cfcbfb5e900c69b1081 (diff) | |
| download | chouette-core-53804667d4ba62e29ff687995dfa6d2566139075.tar.bz2 | |
Updated imports#index date filter : used the same logic for the Calendar#index date filter (ransackable scope)
I realized that we could submit the form with incomplete date which caused an 500 error.
So I added a small JS script to prevent user from subnitting filter form with incomplete dates
Since it was really similar with previous work I added two folders : /helpers & /filters to be more DRY
The JS files are loaded in 4 views for the moment, hence the update in the assets.rb file
Diffstat (limited to 'spec/support/with_commit.rb')
0 files changed, 0 insertions, 0 deletions
