src/cm/templates/site/followup.html
changeset 565 95a5c06c4008
parent 439 8994d24e4b2f
--- a/src/cm/templates/site/followup.html	Mon Nov 18 17:31:53 2013 +0100
+++ b/src/cm/templates/site/followup.html	Thu Nov 28 09:11:51 2013 +0100
@@ -66,13 +66,13 @@
 
     $(function() {
         adapt_own_check_visibility = function() {
-            if ($("#workspace_notify_check").attr('checked'))
+            if ($("#workspace_notify_check").is(':checked'))
                 $("#own_notify_check_container").hide() ;
             else
                 $("#own_notify_check_container").show() ;
         } ;
         $(".check").click(function(){
-            checked = $(this).attr('checked');
+            checked = $(this).is(':checked');
             id = $(this).attr('id') ;
             post_data = {'notif_id': id} ;
             post_data[id] = checked ;