[FIX] [7.0] event: fixes #1046 A malformed onchange return prevents updating data in form

[FIX] [7.0] event: Fixes a malformed onchange return that prevents to update some data in the event.event form.
This commit fixes #1046