summaryrefslogtreecommitdiff
path: root/addons/website_livechat
diff options
context:
space:
mode:
authorJeremy Kersten <jke@odoo.com>2020-09-24 09:53:11 +0000
committerJeremy Kersten <jke@odoo.com>2020-09-24 16:00:13 +0000
commit5fe3ad548e410fbe2eddd7f67aa4b89b81746f1a (patch)
treed95f1679316dafdbc4a5d3cf54b4d6a60c0df4f3 /addons/website_livechat
parent5ffb7bb2f461de2b3cf95ef0df6a24b668bf9bd3 (diff)
[FIX] website: edit master wrongly computed
In case you don't have the trailing slash and are on your homepage, the indexOf will return -1 and you will be redirectected to the pathname.substr(-1) Now if you don't have trailing slash in your url after position 1, we don't subtract anything. domain.com/fr_BE Before this commit: => redirect to domain.com/E After thi comit => redirect to domain.com task-2345490 closes odoo/odoo#58457 X-original-commit: ada2e2ce68dbc8b1df701691d9d3e958fef4ea31 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/website_livechat')
0 files changed, 0 insertions, 0 deletions