* fix for task #386
This commit is contained in:
+22
-12
@@ -576,26 +576,36 @@ function selectItem(SelectID)
|
||||
/**
|
||||
* Auto checked the checkbox of a row.
|
||||
*
|
||||
* @param string $classID
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
function autoCheck()
|
||||
{
|
||||
$('.tablesorter tr :checkbox').click(function(){
|
||||
if($(this).attr('checked'))
|
||||
$(this).attr('checked', false);
|
||||
else
|
||||
$(this).attr('checked', true);
|
||||
return;
|
||||
$('.tablesorter tr :checkbox').click(function()
|
||||
{
|
||||
if($(this).attr('checked'))
|
||||
{
|
||||
$(this).attr('checked', false);
|
||||
}
|
||||
else
|
||||
{
|
||||
$(this).attr('checked', true);
|
||||
}
|
||||
return;
|
||||
});
|
||||
$('.tablesorter tr').click(function(){
|
||||
if($(this).find(':checkbox').attr('checked'))
|
||||
$(this).find(':checkbox').attr('checked', false);
|
||||
else
|
||||
$(this).find(':checkbox').attr('checked', true);
|
||||
$('.tablesorter tr').click(function()
|
||||
{
|
||||
if($(this).find(':checkbox').attr('checked'))
|
||||
{
|
||||
$(this).find(':checkbox').attr('checked', false);
|
||||
}
|
||||
else
|
||||
{
|
||||
$(this).find(':checkbox').attr('checked', true);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/* Ping the server every some minutes to keep the session. */
|
||||
needPing = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user