summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/session_instance.js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2015-10-30 12:21:51 +0100
committerGéry Debongnie <ged@odoo.com>2015-10-30 15:39:42 +0100
commit38581f67236377daa767ca2216529a26b8708b00 (patch)
tree940fb0ac8c881b16269962b4cd367876bbd45dcd /addons/web/static/src/js/framework/session_instance.js
parent09c4947a275a8c77dcaed8c4575ab72b0b7a3b31 (diff)
[FIX] bus: share longpolling among tabs
The bus used to do a long poll as soon as it is started. This is fine when the user has a single tab, but not so fine when 5 or 6 tabs are open. This commit introduce the concept of tab manager, a way to decide among all tabs who is the leader. The leader will then initiate the long poll, and share the notifications via the local storage.
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions