I just changed it, but what I was trying to say was that that wasn’t the problem.
If I return false, it doesn’t remove the lightbox, whereas if I return true, it does remove the lightbox.
That works as it should.
The problem is in the cases where it DOES return true, and the event is new.
I get the following error:
Failed to load resource: the server responded with a status of 403 (Forbidden) http://www.shul.co.uk/diary/data/events_multiselect_options.php?editing=true
I’m not sure if this is related, but the following function also isn’t working any more:
dp.setUpdated(eventID, true, "updated");
I get the following error: Cannot call method ‘setUpdated’ of undefined
Could there be something wrong with the setting up of of ‘dp’ object?
It’s really strange, as I haven’t edited the ‘dp’ object recently, yet loads of stuff has just randomly stopped working.
Any help with this issue would be greatly appreciated!
Turns out it was a server problem.
My web hosting company had just added on a new security system that caused certain parts of the scheduler not to work.
I don’t see the problem while testing from my side ( maybe already was fixed )
After pressing save button server will call server side script to save data, and if return 403 error - there is something wrong with server side code. ( invalid path, or custom code in connector which blocks operation )