Ignore:
Timestamp:
06/27/12 11:04:30 (12 years ago)
Author:
eduardow
Message:

Ticket #2906 - Verificar mensagem de erro ao usuario durante sinalização de mensagens.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/prototype/modules/mail/js/label.js

    r6630 r6653  
    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.