I added the following line in my "onLightbox" event but it doesn't do anything.
scheduler.config.buttons_right=[];
I added the following line in my "onLightbox" event but it doesn't do anything.
scheduler.config.buttons_right=[];
It need to be added before scheduler.init call ( outside of onLightbox event ) as this is a global configuration.
I think it also could be added inside "onBeforeLightbox" to get more control:
scheduler.attachEvent("onBeforeLightbox", function (id, mode, event) {
scheduler.config.buttons_right = [];
}