[ADD] Add trigger 'state_pushed', need in the module,

bzr revid: vta@openerp.com-20121026140515-fjo4u05t0rdtehq6
This commit is contained in:
vta vta@openerp.com 2012-10-26 16:05:15 +02:00
parent 93be12ab1e
commit 6a229f4385
1 changed files with 1 additions and 0 deletions

View File

@ -1117,6 +1117,7 @@ instance.web.WebClient = instance.web.Client.extend({
var url = '#' + $.param(state);
this._current_state = _.clone(state);
$.bbq.pushState(url);
this.trigger('state_pushed', state);
},
on_menu_action: function(options) {
var self = this;