onEventCancel

当用户在lightbox(编辑表单)中按下“取消”按钮时触发

void onEventCancel(string id,boolean flag);
idstring事件的id
flagboolean如果用户正在取消新事件,则为'true',
如果编辑的事件已存在,则为'false'

Example

scheduler.attachEvent("onEventCancel", function(id, flag){
    //这里写任何自定义逻辑
});

返回顶部