Can't update newly created event until i'm refreshing page

Can’t update newly created event until i’m refreshing page. If i try to update then the event is getting duplicated again even the duplicated event is not displaying until i’m reloading. Is there any way to refresh my scheduler after inserting?

Most probably the data saving script returns an invalid response, so client side is not aware that new records was inserted in DB and can’t update it correctly.

Check that

  • ajax response for data saving is a valid XML (json)
  • response contains both sid and tid attributes
  • tid is a correct DB id for the new record