]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-2614 Fix issue on Chrome
authorFabrice Bellingard <bellingard@gmail.com>
Thu, 5 Jul 2012 09:52:50 +0000 (11:52 +0200)
committerFabrice Bellingard <bellingard@gmail.com>
Thu, 5 Jul 2012 09:55:47 +0000 (11:55 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/bulk_deletion/index.html.erb

index 9c02bd9027f2becab2b3162670adfe4bf805974a..164815d19f2aa4d5af926cfbcef645636675acb7 100644 (file)
@@ -77,7 +77,7 @@
   
     <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>