diff --git a/module/testcase/js/common.js b/module/testcase/js/common.js index 4d70d3234b..f666b58ed3 100644 --- a/module/testcase/js/common.js +++ b/module/testcase/js/common.js @@ -278,6 +278,7 @@ function setScenes() branch = $('#branch').val(); moduleID = $('#module').val(); if(typeof(branch) == 'undefined') branch = 0; + if(typeof(sceneID) == 'undefined') sceneID = 0; element = (config.currentMethod == 'createscene' || config.currentMethod == 'editscene') ? 'parent' : 'scene'; link = createLink('testcase', 'ajaxGetScenes', 'productID=' + productID + '&branch=' + branch + '&moduleID=' + moduleID + '&element=' + element + '&sceneID=' + sceneID); diff --git a/module/testcase/view/edit.html.php b/module/testcase/view/edit.html.php index 9c3976f1a2..e5d767401d 100644 --- a/module/testcase/view/edit.html.php +++ b/module/testcase/view/edit.html.php @@ -17,6 +17,7 @@ testcase->insertBefore);?> testcase->insertAfter);?> id);?> +scene);?> app->tab);?>