[IMP] Thread widget: action menu is displayed when hovering the whell

bzr revid: tde@openerp.com-20120514094002-f1kd8pth5jd1qlxr
This commit is contained in:
Thibault Delavallée
2012-05-14 11:40:02 +02:00
parent f59e157499
commit f4b727dfdc
2 changed files with 4 additions and 4 deletions
+4
View File
@@ -261,6 +261,10 @@
-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.openerp img.oe_mail_msg_menu_icon:hover + .openerp ul.oe_mail_msg_menu {
display: block;
}
/* ------------------------------ */
/* Styling (should be openerp) */
/* ------------------------------ */
-4
View File
@@ -140,10 +140,6 @@ openerp.mail = function(session) {
});
return false;
});
// event: click on the wheel menu in messages
this.$element.find('div.oe_mail_thread_display').delegate('img.oe_mail_msg_menu_icon', 'click', function (event) {
self.$element.find('ul.oe_mail_msg_menu').toggle();
});
// event: click on 'hide' in wheel_menu
this.$element.find('div.oe_mail_thread_display').delegate('a.oe_mail_msg_hide_thread', 'click', function (event) {
if (! confirm(_t("Do you really want to hide this thread ?"))) { return false; }