[IMP] Changed calendar to open popups with the buttons on the bottom left.

bzr revid: nicolas.vanhoren@openerp.com-20121015132836-rg0y8kjdj7f3vh5h
This commit is contained in:
niv-openerp 2012-10-15 15:28:36 +02:00
parent 3db503e423
commit 0227125c44
1 changed files with 2 additions and 1 deletions

View File

@ -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);