mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
BUGFIX: CRM "select all" and "select none" doesn't work when the crm manages multiple models.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@71568 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
aba093c176
commit
5328056fcd
@ -125,13 +125,13 @@ $(document).ready(function() {
|
||||
});
|
||||
|
||||
$('a.form_frontend_function.tick_all_result_assembly').click(function(){
|
||||
var resultAssembly = $('div#ResultAssembly ul li input');
|
||||
var resultAssembly = $(this).prevAll('div#ResultAssembly').find('ul li input');
|
||||
resultAssembly.attr('checked', 'checked');
|
||||
return false;
|
||||
});
|
||||
|
||||
$('a.form_frontend_function.untick_all_result_assembly').click(function(){
|
||||
var resultAssembly = $('div#ResultAssembly ul li input');
|
||||
var resultAssembly = $(this).prevAll('div#ResultAssembly').find('ul li input');
|
||||
resultAssembly.removeAttr('checked');
|
||||
return false;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user