diff options
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/bulk_deletion/index.html.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/bulk_deletion/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/bulk_deletion/index.html.erb index 9c02bd9027f..164815d19f2 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/bulk_deletion/index.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/bulk_deletion/index.html.erb @@ -77,7 +77,7 @@ <script> function selectOrDeselect() { - status = $('r-all').checked; + var status = $('r-all').checked; $$('tbody input').each(function(input) { input.checked = status; }); @@ -102,12 +102,12 @@ 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> |