我在"onLightbox"事件中添加了以下行,但它什么也没做。
scheduler.config.buttons_right=[];
它需要在scheduler.init调用之前添加(在onLightbox事件之外),因为这是一个全局配置。
我认为它也可以添加到"onBeforeLightbox";获得更多控制:
scheduler.attachEvent("onBeforeLightbox", function (id, mode, event) {
scheduler.config.buttons_right = [];
}