summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2018-09-19 18:48:50 +0200
committerRomain Derie <rde@odoo.com>2018-09-25 19:16:16 +0200
commit569554b9e035c638d57b63740cd9141634508a14 (patch)
treecbf0c53e5a16712c2c407d35d9cad5c25aff3d32 /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
parent4daceeddb2f9e048d4b681632a9507a6dd997805 (diff)
[FIX] website: website forced on wrong session with website selector
Forcing website on session before navigating to the other website would not work as expected if the other website has a different URL (hostname). It would force the website on session on current website, then navigate to second website which could still had another website in session. Now, we force the website in session once we land on the website in the dispatch() method. Step to reproduce: - Set website1 to 127.0.0.10 - Set website2 to 127.0.0.20 - From website1 click on website2 in website selector - Website2 is forced on website1 session (wrong) - You land correctly on website2 and see website2 - From there (website2) click on website1 in website selector - Website1 is forced on website2 session (wrong) - You land on website1 but see website2 since website2 was forced on website1 session at steps 3/4. This is even more trickier when there is a third website without a domain in the equation (meaning this website can be seen from website1 and website2 without changing URL (hostname)).
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions