Select All only select in its own GridField

This commit is contained in:
colymba 2013-04-29 18:33:47 +03:00
parent 004146e96d
commit e4f954583e

View File

@ -54,7 +54,7 @@
},
onclick: function(){
var state = $(this).prop('checked');
$('td.col-bulkSelect input').each(function(){$(this).prop('checked', state);});
$(this).parents('.ss-gridfield-table').find('td.col-bulkSelect input').each(function(){$(this).prop('checked', state);});
}
});