[FIX] Pass the right object when binding to 'state_pushed'
bzr revid: vta@openerp.com-20130109102429-2k33nl3nwg3p0cna
This commit is contained in:
parent
acfd3b3aa2
commit
afafaff8da
|
@ -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();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue