summaryrefslogtreecommitdiff
path: root/addons/web_view_editor/static
diff options
context:
space:
mode:
authorVishmita <vja@tinyerp.com>2012-10-11 16:25:16 +0530
committerVishmita <vja@tinyerp.com>2012-10-11 16:25:16 +0530
commite50ce70fa79a9b1a6d34c9d2fc7694a4f6d0fc8e (patch)
tree84ec918eed8badecdd493455b16ed8d80a5482fa /addons/web_view_editor/static
parentffe8dd604a833ae8c3f6b8d1fd6ccdfa02b256bb (diff)
[Fix]change event name
bzr revid: vja@tinyerp.com-20121011105516-h3fuwrgxdqqbtxh8
Diffstat (limited to 'addons/web_view_editor/static')
-rw-r--r--addons/web_view_editor/static/src/js/view_editor.js2
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);