summaryrefslogtreecommitdiff
path: root/addons/web_view_editor/static/src
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2012-10-15 15:52:36 +0200
committerniv-openerp <nicolas.vanhoren@openerp.com>2012-10-15 15:52:36 +0200
commit04353719e97715a64c105a45aed36480dc6d02f0 (patch)
tree8a96e43fac60cc8fe4c7bd5ac5f053f08f76aaca /addons/web_view_editor/static/src
parentede4edc156131f1eeed39caaeb4bc7244ba8c294 (diff)
[IMP] removed on_close in Dialog
bzr revid: nicolas.vanhoren@openerp.com-20121015135236-r5809kwwbcqo67tj
Diffstat (limited to 'addons/web_view_editor/static/src')
-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 63dc864c916..2732954097d 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_close.add_last(function(){window.location.reload();});
+ this.view_edit_dialog.on("closing", this, 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);