projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
276db38
)
[FIX] Bug in action manager. AFAIK, the parent of a ViewManager should be it's Action...
author
Fabien Meghazi
<fme@openerp.com>
Thu, 12 Jul 2012 16:31:43 +0000
(18:31 +0200)
committer
Fabien Meghazi
<fme@openerp.com>
Thu, 12 Jul 2012 16:31:43 +0000
(18:31 +0200)
The bug could be experienced with action target new (Eg: debug Edit this Form)
bzr revid: fme@openerp.com-
20120712163143
-s1nbf88lqz011uhi
addons/web/static/src/js/views.js
patch
|
blob
|
history
diff --git
a/addons/web/static/src/js/views.js
b/addons/web/static/src/js/views.js
index
ffa78f3
..
423bf3f
100644
(file)
--- a/
addons/web/static/src/js/views.js
+++ b/
addons/web/static/src/js/views.js
@@
-227,7
+227,7
@@
instance.web.ActionManager = instance.web.Widget.extend({
this.dialog_widget.destroy();
}
this.dialog.dialog_title = action.name;
- this.dialog_widget = new instance.web.ViewManagerAction(this.dialog, action);
+ this.dialog_widget = new instance.web.ViewManagerAction(this, action);
this.dialog_widget.appendTo(this.dialog.$element);
this.dialog.open();
} else {