NicolasCARPi / jquery_jeditable

jQuery edit in place plugin. Extendable via plugin architecture. Plugins for plugin. Really.
https://jeditable.elabftw.net
MIT License
1.74k stars 458 forks source link

Pass the event to the 'before' callback #188

Closed Uplink03 closed 5 years ago

Uplink03 commented 5 years ago

I found myself needing to use the event object in the 'before' callback, and I made this change to help me out. I needed to know who triggered the event.

The change should be backwards compatible.

NicolasCARPi commented 5 years ago

Hello,

Thank you for your contribution! \o/