Issue 1036: Disable click event
Status:  Done
Owner: ----
Closed:  Jul 2011
Reported by pru...@gmail.com, Jul 14, 2011
Would like to know how to disable the hability to click an event and redirect to google calendar.

Thanks!

Jul 19, 2011
Project Member #1 adamrs...@gmail.com
just set your eventClick handler to be a function that only returns false

http://arshaw.com/fullcalendar/docs/mouse/eventClick/
Status: Done
Jul 20, 2011
#2 pru...@gmail.com
I'm sorry maybe I didn't get it 'cause I don't know much about jQuery, but I can remove the popup, but what I want is that even if you use the right button and choose to open in other window it won't work. I DON'T want external links... If that's possible!

Thanks!
Aug 21, 2011
Project Member #3 adamrs...@gmail.com
still not really sure what your asking for, but maybe you just shouldn't use the `url` field of an event object. the presence of that field is what creates the link in the first place
Sep 5, 2012
#4 myrebala...@gmail.com

	

I edited the "fullcalendar.fullcalendar.js" file in sites/all/modules/fullcalendar and commented out the lines 12 to 17 like :

 var options = {
      eventClick: function (calEvent, jsEvent, view) {
      /* if (settings.sameWindow) {
          window.open(calEvent.url, '_self');
        }
        else {
          window.open(calEvent.url);
        } */
        return false;
      },