[REM] mail: removed dead code in mail.js
authorThibault Delavallée <tde@openerp.com>
Tue, 25 Mar 2014 14:25:35 +0000 (15:25 +0100)
committerThibault Delavallée <tde@openerp.com>
Tue, 25 Mar 2014 14:25:35 +0000 (15:25 +0100)
bzr revid: tde@openerp.com-20140325142535-rptr14zfxf8ctx27

addons/mail/static/src/js/mail.js

index 312e8df..99a7751 100644 (file)
@@ -507,7 +507,6 @@ openerp.mail = function (session) {
             }
             $.when(recipient_done).done(function (partner_ids) {
                 var context = {
-                    // 'default_composition_mode': default_composition_mode,
                     'default_parent_id': self.id,
                     'default_body': mail.ChatterUtils.get_text2html(self.$el ? (self.$el.find('textarea:not(.oe_compact)').val() || '') : ''),
                     'default_attachment_ids': _.map(self.attachment_ids, function (file) {return file.id;}),