[FIX]some cosmetic of code
authorCedric Snauwaert <csn@openerp.com>
Fri, 11 Apr 2014 12:28:40 +0000 (14:28 +0200)
committerCedric Snauwaert <csn@openerp.com>
Fri, 11 Apr 2014 12:28:40 +0000 (14:28 +0200)
bzr revid: csn@openerp.com-20140411122840-tv1mx2nu5p2is669

addons/account/static/src/js/account_move_reconciliation.js
addons/mail/static/src/js/mail_followers.js

index c9489ee..1040e9d 100644 (file)
@@ -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;
             }
index 4933ce5..bf83fe6 100644 (file)
@@ -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() {