Passed the source event to the 'onedit' hook