diff --git a/src/basic/BasicView.js b/src/basic/BasicView.js index 9e08f6d..24905c2 100644 --- a/src/basic/BasicView.js +++ b/src/basic/BasicView.js @@ -212,6 +212,7 @@ function BasicView(element, calendar, viewName) { cell.removeClass(tm + '-state-highlight fc-today'); } cell.find('div.fc-day-number').text(date.getDate()); + trigger('dayRender', t, date, cell); if (dowDirty) { setDayID(cell, date); } diff --git a/src/common/View.js b/src/common/View.js index efc1332..37f2c7d 100644 --- a/src/common/View.js +++ b/src/common/View.js @@ -106,6 +106,18 @@ function View(element, calendar, viewName) { } + // returns all events with a matching propery value + function eventsByProp(property, value) + { + var id, i, len, events = []; + for(id in eventsByID) + for(i=0, len=eventsByID[id].length; i