diff options
| author | Jeremy Kersten <jke@odoo.com> | 2017-01-30 12:21:23 +0100 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2017-02-01 09:05:44 +0100 |
| commit | 34fc4a27494fedf4629ce713a4051cf644eed29f (patch) | |
| tree | 24b5559b7d0d72a192f00912842bdbe401c736d7 /doc/reference/javascript.rst | |
| parent | 0e766c240514af77d6229a3379f20ebfc0f1e97e (diff) | |
[FIX] website_sale: avoid scroll to top when add to cart
This commit avoid that when you click on the add to cart a-submit link,
you scroll to the top because there are an empty anchor #.
Now we preventdefault th event, and so don't looking for the empty anchor,
and submit form immediately.
Courtesy of @mge-odoo for the reporting.
Diffstat (limited to 'doc/reference/javascript.rst')
0 files changed, 0 insertions, 0 deletions
