summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2017-03-20 12:37:51 +0100
committerMartin Trigaux <mat@odoo.com>2017-03-21 09:56:57 +0100
commit1cefe8d78727549fd86661a946cbf275dd1a86b6 (patch)
tree0bfcac2c4c36f6f8696b28202a14b9c6e262ddee /addons/web/static/src/js/views/basic/basic_controller.js
parenta2479396204d900b267d2446001769bdcbd1f9fa (diff)
[FIX] point_of_sale: IE close itself on the POS opening
When a session was opened in Internet Explorer (11 at least), it was directly closed. This is due to the concurrency mechanism created to avoid having two tabs opened with the same window. To avoid having two tabs opened on the same session, the browser listen to 'storage' event, triggered when the localstorage is updated. On most browsers, this is only triggers when the localstorage is updated in a different window of the same browser. On IE 11, it is also triggered when the localstorage is modified in the current window. It is unclear if this is a bad interpretation of the specification or not. A bug has been reported[1] to Microsoft about it but is, as of today, postponed without action. To avoid the above issue, add a parameter containing a timestamp at the session launch and be able to detect that the storage events comes from the current window. opw-724851 [1] https://connect.microsoft.com/IE/feedback/details/774798/localstorage-event-fired-in-source-window
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions