[FIX] allow excution of client actions from url
bzr revid: chs@openerp.com-20120614164141-s8hm4wj5xoswh9ym
This commit is contained in:
@@ -77,7 +77,14 @@ instance.web.ActionManager = instance.web.Widget.extend({
|
||||
});
|
||||
} else if (state.client_action) {
|
||||
this.null_action();
|
||||
this.ir_actions_client(state.client_action);
|
||||
var action = state.client_action;
|
||||
if(_.isString(action)) {
|
||||
action = {
|
||||
tag: action,
|
||||
params: $.deparam($.param.querystring()),
|
||||
};
|
||||
}
|
||||
this.ir_actions_client(action);
|
||||
}
|
||||
|
||||
$.when(action_loaded || null).then(function() {
|
||||
|
||||
Reference in New Issue
Block a user