summaryrefslogtreecommitdiff
path: root/addons/web_view_editor/static/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_view_editor/static/src/js')
-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);