diff --git a/admin/award_awards.php b/admin/award_awards.php index bbd7ee6..33fc8e8 100644 --- a/admin/award_awards.php +++ b/admin/award_awards.php @@ -438,8 +438,17 @@ function update_eligibility() award_tab_update['eligibility'] = award_id; $.getJSON("?action=eligibility_load&id="+award_id, function(json){ - $("[name=categories\\[\\]]").val(json.categories); - $("[name=divisions\\[\\]]").val(json.divisions); + $("[name^=\"divisions\"]").attr('checked',false); + $("[name^=\"categories\"]").attr('checked',false); + + for(i=0;i