* testcase: modify url of an ajax request.

This commit is contained in:
liugang
2023-08-09 10:35:04 +08:00
parent 5993f7f67a
commit b9c2e82da5
+2 -1
View File
@@ -278,7 +278,8 @@ function setScenes()
branch = $('#branch').val();
moduleID = $('#module').val();
if(typeof(branch) == 'undefined') branch = 0;
link = createLink('testcase', 'ajaxGetModuleScenes', 'productID=' + productID + '&branch=' + branch + '&moduleID=' + moduleID + '&stype=2&storyID=0&onlyOption=false&status=noclosed&limit=50&type=full&hasParent=1');
element = (config.currentMethod == 'createscene' || config.currentMethod == 'editscene') ? 'parent' : 'scene';
link = createLink('testcase', 'ajaxGetScenes', 'productID=' + productID + '&branch=' + branch + '&moduleID=' + moduleID + '&element=' + element + '&sceneID=' + sceneID);
$('#sceneIdBox').load(link, function()
{