equal
deleted
inserted
replaced
64 <script type="text/javascript"> |
64 <script type="text/javascript"> |
65 <!-- |
65 <!-- |
66 |
66 |
67 $(function() { |
67 $(function() { |
68 adapt_own_check_visibility = function() { |
68 adapt_own_check_visibility = function() { |
69 if ($("#workspace_notify_check").attr('checked')) |
69 if ($("#workspace_notify_check").is(':checked')) |
70 $("#own_notify_check_container").hide() ; |
70 $("#own_notify_check_container").hide() ; |
71 else |
71 else |
72 $("#own_notify_check_container").show() ; |
72 $("#own_notify_check_container").show() ; |
73 } ; |
73 } ; |
74 $(".check").click(function(){ |
74 $(".check").click(function(){ |
75 checked = $(this).attr('checked'); |
75 checked = $(this).is(':checked'); |
76 id = $(this).attr('id') ; |
76 id = $(this).attr('id') ; |
77 post_data = {'notif_id': id} ; |
77 post_data = {'notif_id': id} ; |
78 post_data[id] = checked ; |
78 post_data[id] = checked ; |
79 $.post('.', post_data, function(data){}); |
79 $.post('.', post_data, function(data){}); |
80 |
80 |