Lock an event

Is there a way to lock an event with a flag.

At the moment I have my calendar driven by an mySQL database. I have the notes field with a javascript popup link with information when clicked. I’d like to add a button somewhere, either on my script or the calendar which ‘locks’ the event in place, so it can’t be moved until it’s unlocked.


You can use any kind of event property, which will store info about locked state, and you can add event handler to onBeforeDrag event, which will check such property and return false for events which must not be moved.