From 3db503e42373e734e63f021d574c9e2ce4e30375 Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Mon, 15 Oct 2012 15:24:44 +0200 Subject: [PATCH] [IMP] Now form view relation popups use $buttons. bzr revid: nicolas.vanhoren@openerp.com-20121015132444-v3379ccn5xau8220 --- addons/web/static/src/js/view_form.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 60c33090c56..a3c6a4d7722 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -4404,9 +4404,8 @@ instance.web.form.AbstractFormPopup = instance.web.Widget.extend({ self.check_exit(true); }, title: this.options.title || "", - buttons: [{text:"tmp"}], }, this.$el).open(); - this.$buttonpane = dialog.$el.dialog("widget").find(".ui-dialog-buttonpane").html(""); + this.$buttonpane = dialog.$buttons; this.start(); }, setup_form_view: function() {