* Fix bug #46381, don't locate to testcase::browse if there is the caseResults.
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -6,7 +6,7 @@ $(function()
|
||||
|
||||
$('#runCaseModal').closest('.modal').on('hide.zui.modal', function()
|
||||
{
|
||||
if(!$(this).hasClass('not-refresh')) loadCurrentPage();
|
||||
if($('#casesResults').length == 0) loadCurrentPage();
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user