[REM] Removed wrong action reference in action manager
bzr revid: fme@openerp.com-20110331122542-gnlxfg2unxvlqut8
This commit is contained in:
parent
7fed892684
commit
4722165efb
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue