[FIX] web: don't crash when switching views in firefox
[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.

microcom/odoo,sysadminmatmoz/OCB,laslabs/odoo,mkieszek/odoo,bplancher/odoo,alhashash/odoo,dfang/odoo,syci/OCB,bplancher/odoo,alhashash/odoo,stephen144/odoo,Elico-Corp/odoo_OCB,storm-computers/odoo,mkieszek/odoo,optima-ict/odoo,optima-ict/odoo,microcom/odoo,microcom/odoo,hip-odoo/odoo,microcom/odoo,microcom/odoo,sysadminmatmoz/OCB,ygol/odoo,Grirrane/odoo,Grirrane/odoo,syci/OCB,bplancher/odoo,Elico-Corp/odoo_OCB,storm-computers/odoo,syci/OCB,stephen144/odoo,dfang/odoo,alhashash/odoo,laslabs/odoo,bplancher/odoo,addition-it-solutions/project-all,stephen144/odoo,microcom/odoo,ygol/odoo,sysadminmatmoz/OCB,ygol/odoo,addition-it-solutions/project-all,optima-ict/odoo,ygol/odoo,stephen144/odoo,tvtsoft/odoo8,stephen144/odoo,Elico-Corp/odoo_OCB,mkieszek/odoo,Elico-Corp/odoo_OCB,storm-computers/odoo,ygol/odoo,alhashash/odoo,tvtsoft/odoo8,syci/OCB,tvtsoft/odoo8,syci/OCB,hip-odoo/odoo,Elico-Corp/odoo_OCB,laslabs/odoo,bplancher/odoo,storm-computers/odoo,optima-ict/odoo,laslabs/odoo,dfang/odoo,dfang/odoo,storm-computers/odoo,alhashash/odoo,tvtsoft/odoo8,optima-ict/odoo,Elico-Corp/odoo_OCB,mkieszek/odoo,mkieszek/odoo,storm-computers/odoo,dfang/odoo,hip-odoo/odoo,sysadminmatmoz/OCB,addition-it-solutions/project-all,addition-it-solutions/project-all,laslabs/odoo,alhashash/odoo,bplancher/odoo,Grirrane/odoo,hip-odoo/odoo,stephen144/odoo,sysadminmatmoz/OCB,ygol/odoo,dfang/odoo,mkieszek/odoo,Grirrane/odoo,sysadminmatmoz/OCB,Grirrane/odoo,Grirrane/odoo,optima-ict/odoo,addition-it-solutions/project-all,syci/OCB,tvtsoft/odoo8,laslabs/odoo,addition-it-solutions/project-all,tvtsoft/odoo8,hip-odoo/odoo,sysadminmatmoz/OCB,hip-odoo/odoo,ygol/odoo