Ignore:
Timestamp:
06/26/12 14:59:52 (12 years ago)
Author:
acoutinho
Message:

Ticket #2906 - Verificar mensagem de erro ao usuario durante sinalizacao de mensagens

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/mail/js/label.js

    r6566 r6641  
    127127                                var hasLabel = true; 
    128128                                $.each(data, function(index, value) { 
    129                                         if(typeof value == 'object'){ 
    130                                                 hasLabel = false; 
    131                                         } 
    132                                         else { 
    133                                                 hasLabel = value; 
    134                                         } 
     129                                         
     130                                        hasLabel = typeof value == 'object' ? false : value; 
     131                                         
    135132                                }); 
    136133                                         
Note: See TracChangeset for help on using the changeset viewer.