Changeset 6320 for sandbox/2.4.1-1
- Timestamp:
- 05/25/12 17:29:34 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.4.1-1/prototype/modules/filters/filters.js
r6292 r6320 121 121 } 122 122 }); 123 return false; 124 } 125 } 126 if(list_container.find('.alertMessage').is(':checked')){ 127 if($(criteria_list[0]).val() != "" && list_container.find('.select-folderlist radio').is(':checked')){ 128 var hasValue = false; 129 $.each(criteria_list, function(index, value){ 130 if($(criteria_list[index]).val() != "" && index != 0){ 131 hasValue = true; 132 } 133 }); 134 if(hasValue){ 135 $.Zebra_Dialog(get_lang("This filter not permits alert")); 136 return false; 137 } 138 if(list_container.find('[name="hasAttachment"]').is(':checked')){ 139 $.Zebra_Dialog(get_lang("This filter not permits alert")); 140 return false; 141 } 142 }else{ 143 $.Zebra_Dialog(get_lang("This filter not permits alert")); 123 144 return false; 124 145 }
Note: See TracChangeset
for help on using the changeset viewer.