From ac1bd4c6724ebe3268a0a2dc4bf9a17afe8522ed Mon Sep 17 00:00:00 2001 From: Jae Date: Fri, 10 Jun 2011 20:07:21 -0700 Subject: [PATCH] let each cell know its date via data-date attribute --- src/basic/BasicView.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/basic/BasicView.js b/src/basic/BasicView.js index 29f2ea4..7528779 100644 --- a/src/basic/BasicView.js +++ b/src/basic/BasicView.js @@ -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); }