From 0227125c44a119fbeca19b8e5b0b194fd9f0ed6d Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Mon, 15 Oct 2012 15:28:36 +0200 Subject: [PATCH] [IMP] Changed calendar to open popups with the buttons on the bottom left. bzr revid: nicolas.vanhoren@openerp.com-20121015132836-rg0y8kjdj7f3vh5h --- addons/web_calendar/static/src/js/calendar.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/web_calendar/static/src/js/calendar.js b/addons/web_calendar/static/src/js/calendar.js index d08912bbaab..e4ecfdab53f 100644 --- a/addons/web_calendar/static/src/js/calendar.js +++ b/addons/web_calendar/static/src/js/calendar.js @@ -455,7 +455,8 @@ instance.web_calendar.CalendarFormDialog = instance.web.Dialog.extend({ var self = this; this._super(); this.form = new instance.web.FormView(this, this.dataset, this.view_id, { - pager: false + pager: false, + $buttons: this.$buttons, }); var def = this.form.appendTo(this.$el); this.form.on('record_created', self, this.on_form_dialog_saved);