if (ids.length === 0) {
new instance.web.Dialog(this, {
title: _t("Warning"),
- modal_size: 'medium',
+ size: 'medium',
}, $("<div />").text(_t("You must choose at least one record."))).open();
return false;
}
var user_pid = $currentTarget.data('id');
$('div.oe_edit_actions').remove();
self.$dialog = new session.web.Dialog(this, {
- destroy_on_close: false,
- modal_size: 'small',
+ size: 'small',
title: _t('Edit Subscription of ') + $currentTarget.siblings('a').text(),
buttons: [
{ text: _t("Apply"), click: function() {