From e50ce70fa79a9b1a6d34c9d2fc7694a4f6d0fc8e Mon Sep 17 00:00:00 2001 From: Vishmita Date: Thu, 11 Oct 2012 16:25:16 +0530 Subject: [Fix]change event name bzr revid: vja@tinyerp.com-20121011105516-h3fuwrgxdqqbtxh8 --- addons/web_view_editor/static/src/js/view_editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/web_view_editor/static/src') 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); -- cgit v1.2.3