FullCalendar: all day slot not showing up in agendaDay view -


i'm using fullcalendar in mvc app. it's working great except 1 annoying little thing. day slot won't show on agendaday view. shows fine in agendaweek not agendaday. checked in firebug , tr day slot not being rendered. app using lot of .js files (none of i've written) , file manipulates calendar has following code in .fullcalendar call (among other things):

            eventrender: function (event, element, view) {                 if (!event.sphere) {                     element.removeclass("fc-event");                     element.addclass("fc-event-business");                 }                  if (typeof (currentitem) !== 'undefined' && currentitem != null && typeof (currentevents) !== 'undefined' && currentevents != null) {                      if (typeof (eventsamount) == 'undefined' || eventsamount == null) {                         eventsamount = 0;                     }                      currentitem++;                     if (currentitem == 1) {                          (keyevent in currentevents) {                             if (new date(currentevents[keyevent].start) >= view.visstart && new date(currentevents[keyevent].end) <= view.visend) {                                 eventsamount++;                             }                          }                     }                      if (currentitem == 1 || currentitem == eventsamount) {                          myjs.setcontentheight(false);                         if (currentitem == eventsamount) {                             currentitem = 0;                             eventsamount = 0;                         }                     }                 } else {                     myjs.setcontentheight(false);                 }             }, 

could reason why day slot not being rendered? how should change in order show slot? have limited knowledge of javascript , jquery, appreciated.

thanks.

fixed it. there call hide element specified class somewhere deep in code. hid header agendaday. firsthour still doesn't work. btw it's fullcalendar 1.4.5.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -