[REM] Removed wrong action reference in action manager

bzr revid: fme@openerp.com-20110331122542-gnlxfg2unxvlqut8
This commit is contained in:
Fabien Meghazi 2011-03-31 14:25:42 +02:00
parent 7fed892684
commit 4722165efb
1 changed files with 0 additions and 2 deletions

View File

@ -8,7 +8,6 @@ openerp.base.ActionManager = openerp.base.Controller.extend({
// process all kind of actions // process all kind of actions
init: function(session, element_id) { init: function(session, element_id) {
this._super(session, element_id); this._super(session, element_id);
this.action = null;
this.viewmanager = null; this.viewmanager = null;
}, },
/** /**
@ -17,7 +16,6 @@ openerp.base.ActionManager = openerp.base.Controller.extend({
*/ */
do_action: function(action) { do_action: function(action) {
// instantiate the right controllers by understanding the action // instantiate the right controllers by understanding the action
this.action = action;
if(action.type == "ir.actions.act_window") { if(action.type == "ir.actions.act_window") {
this.viewmanager = new openerp.base.ViewManager(this.session,this.element_id); this.viewmanager = new openerp.base.ViewManager(this.session,this.element_id);
this.viewmanager.do_action_window(action); this.viewmanager.do_action_window(action);