Closed dizpers closed 11 years ago
Hi,
Thanks very much for the pull request and for finding the bug. I didn't want to completely merge because of all the extra formatting changes but I have manually merged it and credited you with the fix (https://github.com/SwarmOnline/Ext.ux.TouchCalendar/commit/1af078b9ff655fb580efffbd2a788c32a53a4a68).
Thanks again! Stuart
In short: datetime attribute was contained in not proper
<td>
- that cause an errorUncaught TypeError: Cannot call method 'getTime' of undefined
on TouchCalendarView.js:591So, the maing problem was in onTimeSlotTap:
var newDate = this.getCellDate(target);
. After this line value of newDate was undefined.getCellDate
function look for the date indatetime
attribute. But this attribute contains not in propertd
tag.