* Fix bug #46381, don't locate to testcase::browse if there is the caseResults.

This commit is contained in:
liumengyi
2024-03-06 14:42:09 +08:00
committed by caoyanyi
parent 3ef0437bbe
commit dcfba3afbc
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -126,7 +126,6 @@ function createBug(event)
var link = $.createLink('bug', 'create', $form.data('params') + ',stepIdList=' + stepIdList);
loadPage(link);
$('#runCaseModal').closest('.modal').addClass('not-refresh');
}
/**
+1 -1
View File
@@ -6,7 +6,7 @@ $(function()
$('#runCaseModal').closest('.modal').on('hide.zui.modal', function()
{
if(!$(this).hasClass('not-refresh')) loadCurrentPage();
if($('#casesResults').length == 0) loadCurrentPage();
});
/**