diff options
| author | Franck Plazanet <franck@plazanet.ovh> | 2020-11-02 08:48:46 +0000 |
|---|---|---|
| committer | Franck Plazanet <franck@portcities.vn> | 2020-12-03 22:17:52 +0000 |
| commit | 52dd758611fe8fbb16e9f1bef8ca710b2f998408 (patch) | |
| tree | f5fde3576415150da4f2f9f13264201b294aa0f9 /doc | |
| parent | 3bd49935cf1dce39f8ee51378ad24f8b1666eac5 (diff) | |
[FIX] website: use currentTarget onLangChangeClick
Before this commit, in case of Google Translate is enable, some content
can be wrapped in extra node.
Use currentTarget is more secure to get the right element clicked.
**Steps to reproduce:**
1. Add a website and multiple language
2. Create a page in 2 languages
3. Visit the website in Chrome and enable the translation by Google translate
4. Change the language and you should get an error similar to:
Error:
Uncaught TypeError: Cannot read property 'replace' of undefined
closes odoo/odoo#62848
X-original-commit: a2ebc05c83de305bc0323f2793ac06dbc15c63cd
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/cla/individual/pfranck.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/cla/individual/pfranck.md b/doc/cla/individual/pfranck.md new file mode 100644 index 00000000000..b5ca54e35ad --- /dev/null +++ b/doc/cla/individual/pfranck.md @@ -0,0 +1,11 @@ +Vietnam, 2020-11-02 + +I hereby agree to the terms of the Odoo Individual Contributor License +Agreement v1.0. + +I declare that I am authorized and able to make this agreement and sign this +declaration. + +Signed, + +Franck Plazanet franck@plazanet.ovh https://github.com/pfranck |
