Changeset 6348 for trunk/prototype/modules/filters/filters.js
- Timestamp:
- 05/30/12 01:20:05 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/filters/filters.js
r6284 r6348 151 151 nameObj.attr("disabled", "disabled"); 152 152 for( var i = 0; i < filter.criteria.length; i++ ){ 153 if(filter.criteria[i].field == 'hasAttachment') { 154 $(".hasAttachment").attr("checked", "True"); 155 continue; 156 } 153 157 criterias.filter( '[value="' + filter.criteria[i].field + '"]' ) 154 158 .siblings( '[name="criteriaOperator[]"]' ).val( filter.criteria[i].operator ).end() … … 167 171 } 168 172 //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"); 170 174 } 171 175
Note: See TracChangeset
for help on using the changeset viewer.