[FIX]some cosmetic of code
bzr revid: csn@openerp.com-20140411122840-tv1mx2nu5p2is669
This commit is contained in:
parent
3a4e264978
commit
89d665aa79
|
@ -88,7 +88,7 @@ openerp.account = function (instance) {
|
|||
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;
|
||||
}
|
||||
|
|
|
@ -95,8 +95,7 @@ openerp_mail_followers = function(session, mail) {
|
|||
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() {
|
||||
|
|
Loading…
Reference in New Issue