* just use case step item as bug step when creating bug from case steps.
This commit is contained in:
@@ -29,6 +29,17 @@ $(function()
|
||||
$this.find('.collapse-handle').toggleClass('icon-chevron-down', !show).toggleClass('icon-chevron-up', show);;
|
||||
});
|
||||
|
||||
$(".step-group input[type='checkbox']").click(function()
|
||||
{
|
||||
var $next = $(this).closest('tr').next();
|
||||
while($next.length && $next.hasClass('step-item'))
|
||||
{
|
||||
var isChecked = $(this).prop('checked');
|
||||
$next.find("input[type='checkbox']").prop('checked', isChecked);
|
||||
$next = $next.next();
|
||||
}
|
||||
});
|
||||
|
||||
$('#casesResults table caption .result-tip').html($('#resultTip').html());
|
||||
|
||||
$('tr').remove('#result-success');
|
||||
|
||||
Reference in New Issue
Block a user