mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 05:02:02 +02:00
fixes #94 - Check All checkboxes that don't check all - switched from non-standard (Harmony Proposal) to generic JS method
This commit is contained in:
parent
dbca10cb1c
commit
a50848f6d7
@ -195,7 +195,7 @@ $(document).ready(function()
|
||||
// Check-All checkbox toggle
|
||||
$("input.toggle-all").click(function(evt) {
|
||||
var selector = 'input[type="checkbox"].checkbox';
|
||||
if($(this).val().startsWith('jstarget:')) {
|
||||
if($(this).val().indexOf('jstarget:') === 0) {
|
||||
selector = 'input[type="checkbox"][name^="' + $(this).val().split(/jstarget\:/)[1] + '"]';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user