* Finish task #57095.
This commit is contained in:
+13
-15
@@ -28,23 +28,21 @@ $(function()
|
||||
}
|
||||
});
|
||||
|
||||
if(useDatatable)
|
||||
/* Expand and fold substages. */
|
||||
$('.table td.has-child > .plan-toggle').click(function()
|
||||
{
|
||||
$('.table td.has-child > .plan-toggle').click(function()
|
||||
{
|
||||
var parentID = $(this).closest('tr').attr('data-id');
|
||||
$('.parent-' + parentID).toggle();
|
||||
var parentID = $(this).closest('tr').attr('data-id');
|
||||
$('.parent-' + parentID).toggle();
|
||||
|
||||
if($('.parent-' + parentID).css('display') == 'none')
|
||||
{
|
||||
$(this).closest('td').removeClass('parent');
|
||||
}
|
||||
else
|
||||
{
|
||||
$(this).closest('td').addClass('parent');
|
||||
}
|
||||
});
|
||||
}
|
||||
if($('.parent-' + parentID).css('display') == 'none')
|
||||
{
|
||||
$(this).closest('td').removeClass('parent');
|
||||
}
|
||||
else
|
||||
{
|
||||
$(this).closest('td').addClass('parent');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
function byProduct(productID, projectID, status)
|
||||
|
||||
Reference in New Issue
Block a user