Changeset 5841


Ignore:
Timestamp:
03/28/12 10:44:42 (12 years ago)
Author:
marcieli
Message:

Ticket #2572 - Validação ao disparar evento contextmenu para selecionar msg.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/draw_api.js

    r5839 r5841  
    13301330                                containment: "#divAppbox" 
    13311331                        }).bind('contextmenu',function(event){ 
    1332                                         if($(this).find("input:checkbox").attr("checked") != "checked"){ 
    1333                                                 $(this).find("input:checkbox").trigger('click'); 
    1334                                                 $(this).addClass("selected_msg"); 
     1332                                        if (!(($(event.target).find('img').length > 0) && ($(event.target).hasClass('td-label')))){ 
     1333                                                if($(this).find("input:checkbox").attr("checked") != "checked"){ 
     1334                                                        $(this).find("input:checkbox").trigger('click'); 
     1335                                                        $(this).addClass("selected_msg"); 
     1336                                                } 
    13351337                                        } 
    13361338                        }); 
Note: See TracChangeset for help on using the changeset viewer.