select/deselect all links not working on collaborations page

fixes #3719

Change-Id: If3e0f8d005b6a9da41bb619736e9696f95115b69
Reviewed-on: https://gerrit.instructure.com/2172
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
This commit is contained in:
Brian Whitmer 2011-02-04 15:54:04 -07:00
parent ee7356f097
commit fc7a551367
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ $(document).ready(function() {
$(".collaborate_data").find(".select_all_link,.deselect_all_link").click(function(event) {
event.preventDefault();
var checked = $(this).hasClass('select_all_link');
$(this).parents(".collaborate_data").find(".collaborator_list :checkbox").each(function() {
$("#collaborator_list :checkbox").each(function() {
$(this).attr('checked', checked);
});
});