let each cell know its date via data-date attribute

This commit is contained in:
Jae
2013-03-03 17:35:31 -08:00
committed by Adam Shaw
parent 28a2e69775
commit ac1bd4c672
+1
View File
@@ -238,6 +238,7 @@ function BasicView(element, calendar, viewName) {
cell.removeClass(tm + '-state-highlight fc-today');
}
cell.find('div.fc-day-number').text(date.getDate());
cell.attr('data-date', $.fullCalendar.formatDate(date, "yyyyMMdd"));
if (dowDirty) {
setDayID(cell, date);
}