Removing Lightbox Buttons and the onLightbox Event

I am hoping to remove the Save and Delete buttons from the Lightbox. After reading another post, I concluded that I should go through the DOM and manually remove those buttons. Is this the most appropriate way to get rid of those buttons?

Also, I am trying to attach the “onLightbox” event to the scheduler, but it doesn’t seem to actually attach. Am I missing something?

Thanks in advance. Much appreciated

Yes, removing through DOM or direct js code modifications are the only ways.

As for onLightbox event - be sure that you are using scheduler 2.3 , there was not such event in older versions.

Thanks Stanislav! You always seem to solve my problems. I thought I had, but I was still running version 2.2. Thanks for the help