Hi Again,
I want to hide the Delete button on the lightbox when i am going to create a new event. (The Delete button displays on the lightbox when event is in create mode). How can i achieve that? Please help.
Thanks.
Hi Again,
I want to hide the Delete button on the lightbox when i am going to create a new event. (The Delete button displays on the lightbox when event is in create mode). How can i achieve that? Please help.
Thanks.
Hello,
scheduler.attachEvent("onBeforeLightbox", function(id) {
scheduler.config.buttons_right = (scheduler.getState().new_event) ? [] : ["dhx_delete_btn"];
scheduler.resetLightbox();
return true;
});
Kind regards,
Ilya
Thank you, This worked!