| Issue 1091: | select and dayClick both firing on a time period selection | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Using this intializer:
$('#calendar').fullCalendar({
'selectable':true,
'select':function(){alert('In select');},
'dayClick':function(){alert('In dayClick');}
});
From that, if you select a period of time, you will receive two alerts, one from each. Not sure if this is the desired outcome, but one would assume only select would fire, since I did not click on a specific day.
Aug 24, 2011
Project Member
#1
althaus.it
Status:
Discussing
Sep 29, 2011
the dayClick will only fire if you mousedown, then mouseup, on a single day. (if you are experiencing differently, that is a bug. on my end, it works fine). I would still consider this a "click" and I want to keep that functionality there, even when selectable is true. I figure this solution is okay because, if people are using selectable=true, they could simply not implement the dayClick callback.
Status:
Done
|
|
| ► Sign in to add a comment |