summaryrefslogtreecommitdiff
path: root/addons/mass_mailing/wizard
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2018-04-16 16:22:47 +0200
committerGéry Debongnie <ged@odoo.com>2018-04-17 09:20:07 +0200
commit4d2e22bc392f27d920542e6ca025273080e5df77 (patch)
treecd7078d54ddd75b121fce702f6d2f111234e0bf5 /addons/mass_mailing/wizard
parent90f8f17fb4fc795c2c12d68d21900e81f3d7a223 (diff)
[FIX] web: fix issue with initial action in web client
Here is a scenario that could happen before this commit: 1. web client is started 2. it binds a callback on hashchange 3. it performs some async work (read initial action for user) 4. the user (or more likely, a tour) changes the url 5. the hashchange handler is called, and it starts a new action 6. the async work for the web client is over, it then executes the default action and/or clicks on the first menu 7. we are now in the default action state, instead of the desired action state (the one from the new url) With this fix, we simply do nothing when there was an hashchange before the initial action was done.
Diffstat (limited to 'addons/mass_mailing/wizard')
0 files changed, 0 insertions, 0 deletions