diff options
| author | vta vta@openerp.com <> | 2012-10-10 13:40:07 +0200 |
|---|---|---|
| committer | vta vta@openerp.com <> | 2012-10-10 13:40:07 +0200 |
| commit | 46b5ac9a377c9470b20aae0e8bdbdf0d359871af (patch) | |
| tree | 535701ed21ad59dd1b57d91ca293baefdb5b10cd /addons/web_view_editor/static/src | |
| parent | 777243bef32482803e8ccbc6735293c19187a54a (diff) | |
[FIX] Fixed on_button_cancel.
bzr revid: vta@openerp.com-20121010114007-3cw3qlxu2zwt1k0s
Diffstat (limited to 'addons/web_view_editor/static/src')
| -rw-r--r-- | addons/web_view_editor/static/src/js/view_editor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_view_editor/static/src/js/view_editor.js b/addons/web_view_editor/static/src/js/view_editor.js index b3a4f0dcfac..40d333afa0f 100644 --- a/addons/web_view_editor/static/src/js/view_editor.js +++ b/addons/web_view_editor/static/src/js/view_editor.js @@ -1014,7 +1014,7 @@ instance.web_view_editor.ViewEditor = instance.web.Widget.extend({ var action_manager = new instance.web.ActionManager(self); $.when(action_manager.do_action(action)).then(function() { var controller = action_manager.dialog_widget.views['form'].controller; - controller.on("on_button_cancel",self,function(){ + controller.on("on_button_cancel", self, function(){ action_manager.destroy(); }); controller.do_save.add_last(function(){ |
