src/cm/templates/site/text_list.html
changeset 565 95a5c06c4008
parent 460 2fdb7d095d5c
child 631 150db5b6711d
--- a/src/cm/templates/site/text_list.html	Mon Nov 18 17:31:53 2013 +0100
+++ b/src/cm/templates/site/text_list.html	Thu Nov 28 09:11:51 2013 +0100
@@ -90,10 +90,10 @@
 <!--
 function check_activate_apply() {
     if (($("input[name^=check-]:checked").length > 0) && ($("#bulk_actions").val() != -1)) {
-        $('#apply').removeAttr('disabled');
+        $('#apply').prop('disabled',false);
     }
     else {
-        $('#apply').attr('disabled','disabled');
+        $('#apply').prop('disabled',true);
     }   
 };
 
@@ -128,8 +128,8 @@
                 <!--
                 $(function() {
                     $("#all_check").click(function () {
-                        checked = $("#all_check").attr('checked'); 
-                        $(".text_check").attr('checked', checked);
+                        checked = $("#all_check").prop('checked'); 
+                        $(".text_check").prop('checked', checked);
                         check_activate_apply();                    
                       });                     
                 }) ;