* Adjust code for run ztf script.

This commit is contained in:
tanghucheng
2022-12-16 09:47:06 +08:00
parent 1505cb89e4
commit 1078a9f3e7
6 changed files with 22 additions and 12 deletions
+5 -2
View File
@@ -177,15 +177,18 @@ function runAutocase()
var url = createLink('zanode', 'ajaxRunZTFScript', 'scriptID=' + automation)
var postData = {'caseIDList' : caseIDList.join(',')};
var response = true;
$.post(url, postData, function(result)
{
if(result.result == 'fail')
{
alert(result.message);
return false;
response = false;
}
return true;
}, 'json');
return response;
}
function confirmAction(obj)