summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/session.js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2015-04-03 11:13:53 +0200
committerGéry Debongnie <ged@odoo.com>2015-04-03 11:13:53 +0200
commitd12bf0eb4a54f0013fa6262079053649fbb1cbe6 (patch)
tree353b50c4d4eb9ee2db8a5e452f2026bfe34e3e29 /addons/web/static/src/js/framework/session.js
parent343ee7ed1ec92e821d5c95cf7c0c3272108bfe2f (diff)
[FIX] web: don't crash when switching views in firefox
For some weird reasons, IE and Chrome (or jquery?) bind the global variable 'event' to the last triggered event (I guess). Of course, our code depended on that behavior, but Firefox does not like it and crashes when we try to read the 'event' variable. This fix simply gets the variable as first argument.
Diffstat (limited to 'addons/web/static/src/js/framework/session.js')
0 files changed, 0 insertions, 0 deletions