Ignore:
Timestamp:
05/30/12 01:20:05 (12 years ago)
Author:
airton
Message:

Ticket #2815 - Inconsistencia com filtros de mensagens com anexos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/filters/filters.js

    r6284 r6348  
    151151        nameObj.attr("disabled", "disabled"); 
    152152    for( var i = 0; i < filter.criteria.length; i++ ){ 
     153                if(filter.criteria[i].field == 'hasAttachment') { 
     154                        $(".hasAttachment").attr("checked", "True"); 
     155                        continue; 
     156                } 
    153157                criterias.filter( '[value="' + filter.criteria[i].field + '"]' ) 
    154158                .siblings( '[name="criteriaOperator[]"]' ).val( filter.criteria[i].operator ).end() 
     
    167171    } 
    168172    //isExact.val( filter.isExact != "false"? "and" : "or" ); 
    169         isExact.filter('[value="'+(filter.isExact != "false"? "and" : "or")+'"]').attr("checked", "True"); 
     173        isExact.filter('[value="'+(filter.isExact != "false"? "and" : "or")+'"]').attr("checked", "True");       
    170174} 
    171175 
Note: See TracChangeset for help on using the changeset viewer.