diff options
| author | Vishmita <vja@tinyerp.com> | 2012-10-11 16:25:16 +0530 |
|---|---|---|
| committer | Vishmita <vja@tinyerp.com> | 2012-10-11 16:25:16 +0530 |
| commit | e50ce70fa79a9b1a6d34c9d2fc7694a4f6d0fc8e (patch) | |
| tree | 84ec918eed8badecdd493455b16ed8d80a5482fa /addons/web_view_editor/static/src/js | |
| parent | ffe8dd604a833ae8c3f6b8d1fd6ccdfa02b256bb (diff) | |
[Fix]change event name
bzr revid: vja@tinyerp.com-20121011105516-h3fuwrgxdqqbtxh8
Diffstat (limited to 'addons/web_view_editor/static/src/js')
| -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 bde683ec2f2..236e48c2c4c 100644 --- a/addons/web_view_editor/static/src/js/view_editor.js +++ b/addons/web_view_editor/static/src/js/view_editor.js @@ -67,7 +67,7 @@ instance.web_view_editor.ViewEditor = instance.web.Widget.extend({ {text: _t("Close"), click: function() { self.view_edit_dialog.close(); window.location.reload(); }} ] }).open(); - this.view_edit_dialog.on('on_close',self,function(){window.location.reload();}); + this.view_edit_dialog.on("dialog_close", self, function(){window.location.reload();}); this.main_view_id = this.parent.fields_view.view_id; this.action_manager = new instance.web.ActionManager(this); this.action_manager.appendTo(this.view_edit_dialog.$el); |
