Question: in scheduler, for onBeforeEventRender, I add an active area with an onClick. How do I stop the onEventClick from the event from firing? If they click on the event area, there's no need to execute the event's onEventClick handler.
Thanks,
Doug
// Some of the code (I can't figure out how to post code on here)
dp.onEventClick = function(args) {
editBlock(args.e.id(), false);
};
dp.onBeforeEventRender = function(args) {
args.data.areas = [
{
top: 7,
right: 0,
bottom: 9,
width: 17,
height: 17,
onClick: function(args) {
var areaObj;
jQuery("#delete_block_dialog" ).dialog({
// some dialog code here
});
return false;
},
visibility: "Visible",
css: "fa fa-times delete_calendar_event"
}
];
};
// etc.