comparison messages/static/js/tabbed_messages.js @ 731:796103a2215b

Fix messages master checkbox behavior. See also 6ba401391cd5.
author Brian Neal <bgneal@gmail.com>
date Wed, 09 Oct 2013 20:52:48 -0500
parents c09ed90c891b
children
comparison
equal deleted inserted replaced
730:b5b7910d78df 731:796103a2215b
168 }); 168 });
169 return false; 169 return false;
170 } 170 }
171 171
172 function tabMasterCheckClick(box, name) { 172 function tabMasterCheckClick(box, name) {
173 var state = $(box).attr('checked'); 173 var state = $(box).prop('checked');
174 $('input[name="' + name + '"]').each(function() { 174 $('input[name="' + name + '"]').each(function() {
175 this.checked = state; 175 this.checked = state;
176 }); 176 });
177 } 177 }
178 178