[FIX] do_load_state: propagate _push_me flag

bzr revid: chs@openerp.com-20121108175910-qd2xho4srhhbjs5q
This commit is contained in:
Christophe Simonis 2012-11-08 18:59:10 +01:00
parent edaa35737b
commit a824da4be3
1 changed files with 6 additions and 1 deletions

View File

@ -200,7 +200,12 @@ instance.web.ActionManager = instance.web.Widget.extend({
action_loaded;
if (state.action) {
if (_.isString(state.action) && instance.web.client_actions.contains(state.action)) {
var action_client = {type: "ir.actions.client", tag: state.action, params: state};
var action_client = {
type: "ir.actions.client",
tag: state.action,
params: state,
_push_me: state._push_me,
};
this.null_action();
action_loaded = this.do_action(action_client);
} else {