[FIX] Pass the right object when binding to 'state_pushed'

bzr revid: vta@openerp.com-20130109102429-2k33nl3nwg3p0cna
This commit is contained in:
vta vta@openerp.com 2013-01-09 11:24:29 +01:00
parent acfd3b3aa2
commit afafaff8da
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ openerp.web_analytics = function(instance) {
return $.when(t._get_user_access_level()).then(function(r) {
t.user_access_level = r;
t.initialize_custom().then(function() {
wc.on('state_pushed', wc, t.on_state_pushed);
wc.on('state_pushed', t, t.on_state_pushed);
t.include_tracker();
});
});