[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:
parent
3db503e423
commit
0227125c44
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue