mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
c7bd0ab85c
Before this commit, using t-on on t-component was not correctly implemented by owl: when more than one component shared the same parentelement and have an handler with the same name, the second handler would override the first (using an internal key). With this commit, we simply recreate event handler for each instance of a catcher block. Note that it means that using t-on on components is slightly slower now. Also, this commit fixes an additional issue that was noticed: the catcher block would not update its internal handler properly, so it would not behave properly after being patched. closes #1199