Changeset [d048dcb7f2936773f934558a9ec840dc2cc748f1] by Murray Steele
October 17th, 2014 @ 05:21 AM
Supply datepicker options in crm.flip_calendar
In datepicker.js.coffee we make sure that all datepicker inputs are invoked with the same options. However, the datepicker on the task form is not enabled by default and is brought into existence separately by crm.flip_calendar. This means it doesn't use the 'yy-mm-dd' format and so the wrong dates are set on the task (or completely incorrect dates blocking the creation / editting of the task entirely).
The solution is to use the same options for the datepicker call in crm.flip_calendar as we do in datepicker.js.coffee.
This fixes #328.
https://github.com/fatfreecrm/fat_free_crm/commit/d048dcb7f2936773f...
Committed by Murray Steele
- M app/assets/javascripts/crm.js.coffee
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Ruby on Rails CRM platform for Web 2.0 and beyond