From 62fad9c114a5c21ea7d564beca45c67e496993e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20van=20der=20Essen?= Date: Fri, 19 Oct 2012 12:03:50 +0200 Subject: [PATCH] [IMP] mail: removed first/last message classes bzr revid: fva@openerp.com-20121019100350-6egth3faj7uoci6u --- addons/mail/static/src/css/mail.css | 11 ----------- addons/mail/static/src/js/mail.js | 5 ----- 2 files changed, 16 deletions(-) diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css index 8261478319a..9d317f714d7 100644 --- a/addons/mail/static/src/css/mail.css +++ b/addons/mail/static/src/css/mail.css @@ -83,14 +83,3 @@ .openerp .oe_mail .oe_msg.oe_msg_read .oe_read{ display:none; } - -.openerp .oe_mail .oe_msg_last { - border-bottom: 5px solid black; - border-left: 2px solid black; - border-right: 2px solid black; -} -.openerp .oe_mail .oe_msg_first { - border-top: 5px solid black; - border-left: 2px solid black; - border-right: 2px solid black; -} \ No newline at end of file diff --git a/addons/mail/static/src/js/mail.js b/addons/mail/static/src/js/mail.js index 7603490ded5..6d8f31c9ac7 100644 --- a/addons/mail/static/src/js/mail.js +++ b/addons/mail/static/src/js/mail.js @@ -1124,11 +1124,6 @@ openerp.mail = function(session) { } } - self.$('.oe_msg_first:first').removeClass("oe_msg_first"); - self.$('.oe_msg_last:last').removeClass("oe_msg_last"); - self.$('.oe_msg_comment:first, .oe_msg_comment:first-child').addClass("oe_msg_first"); - self.$('.oe_msg_comment:last, .oe_msg_comment:last-child').addClass("oe_msg_last"); - return message },