<script>
function selectOrDeselect() {
- status = $('r-all').checked;
+ var status = $('r-all').checked;
$$('tbody input').each(function(input) {
input.checked = status;
});
function selectAllResources() {
$('all_resources').value = '<%= found_resources_ids -%>';
- $('select_all_action').text = '<%= message('bulk_deletion.clear_selection', :params => found_resources_count) -%>';
+ $('select_all_action').innerHTML = '<%= message('bulk_deletion.clear_selection', :params => found_resources_count) -%>';
}
function selectNotAllResources() {
$('all_resources').value = '';
- $('select_all_action').text = '<%= message('bulk_deletion.select_all_x_resources', :params => found_resources_count) -%>';
+ $('select_all_action').innerHTML = '<%= message('bulk_deletion.select_all_x_resources', :params => found_resources_count) -%>';
}
</script>