summaryrefslogtreecommitdiff
path: root/addons/base/static/src
diff options
context:
space:
mode:
authorAntony Lesuisse <al@openerp.com>2011-07-18 17:08:33 +0200
committerAntony Lesuisse <al@openerp.com>2011-07-18 17:08:33 +0200
commitf0fa85104c397c2d3ae53b8cdbf9d5e21ac3bb5d (patch)
tree086badad04c41f7f6eefed6f6cf3d5d086559d60 /addons/base/static/src
parentfb0c0e8d9043b7cda26bed3b9717de5060b9793b (diff)
controllers is family form fixes 4
bzr revid: al@openerp.com-20110718150833-zj7c0cort2ec5lv5
Diffstat (limited to 'addons/base/static/src')
-rw-r--r--addons/base/static/src/js/views.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/base/static/src/js/views.js b/addons/base/static/src/js/views.js
index f2359461ef4..f76ecc52c71 100644
--- a/addons/base/static/src/js/views.js
+++ b/addons/base/static/src/js/views.js
@@ -6,13 +6,13 @@ openerp.base.views = function(openerp) {
openerp.base.ActionManager = openerp.base.Controller.extend({
// process all kind of actions
- init: function(session, element_id) {
- this._super(session, element_id);
+ init: function(parent, element_id) {
+ this._super(parent, element_id);
this.viewmanager = null;
this.current_dialog = null;
// Temporary linking view_manager to session.
// Will use controller_parent to find it when implementation will be done.
- session.action_manager = this;
+ this.session.action_manager = this;
},
/**
* Process an action