You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to http://fullcalendar.io/docs/mouse/eventClick/ returning false in the function should make the browser not follow the link (like preventDefault() or something). This works fine with the original calendar script, but in ui-calendar this is ignored. To reproduce:
Change the calendarDemo.js:
$scope.alertOnEventClick=function(date,jsEvent,view){$scope.alertMessage=(date.title+' was clicked ');jsEvent.preventDefault();returnfalse;};```
andclickonthe"Click for Google".Onlythealertshouldbeshownandyoushouldstayonthesite,butinsteadyougotogoogle.
According to http://fullcalendar.io/docs/mouse/eventClick/ returning false in the function should make the browser not follow the link (like preventDefault() or something). This works fine with the original calendar script, but in ui-calendar this is ignored. To reproduce:
Change the calendarDemo.js: