* testcase: terminate function if isn't nessacary.

This commit is contained in:
liugang
2023-08-09 10:33:37 +08:00
parent 921eb5a984
commit 5993f7f67a
+4
View File
@@ -228,6 +228,8 @@ function setModules(productID, branchID, num)
*/
function setStories()
{
if($('#story').length == 0) return false;
productID = $('#product').val();
branch = $('#branch').val();
moduleID = $('#module').val();
@@ -270,6 +272,8 @@ function setPreview()
function setScenes()
{
if($('#sceneIdBox').length == 0) return false;
productID = $('#product').val();
branch = $('#branch').val();
moduleID = $('#module').val();