summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2015-11-13 10:18:20 +0100
committerAaron Bohy <aab@odoo.com>2015-11-16 09:51:08 +0100
commit1378dc130cba13102933447259134e1913c6def5 (patch)
treefa1fd8d624898a814e5fdee409eff828c76a6e5f /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js
parent2c60b1bc2daab35fd77c14d98164bd695787b870 (diff)
[FIX] bus: prevent duplicate messages on browser refresh
On browser refresh, the bus sends the last notifications for the last 50secs. This is really annoying to deal with, especially in the chat applicatiion. This commits ensure that duplicate notifications are ignored. This is done by saving the id of the last notif in the local storage. Note: it is also necessary to clear the last message id in the local storage to prevent problems when a developer resets his db, and will not receive any notifications.
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions