Last modified by SuperUwe Trueggelmann on 2022/09/28 17:35

From version 2.9
edited by SuperUwe Trueggelmann
on 2022/09/28 17:14
Change comment: There is no comment for this version
To version 2.5
edited by SuperUwe Trueggelmann
on 2022/09/28 17:06
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -13,17 +13,15 @@
13 13  
14 14   boolean doTH = false
15 15  
16 - strCommand = request.get("butAction")?: 'none'
17 - if (strCommand){
18 - if(boDebug){println "'" + strCommand + "' received."}
19 -// strCommand = services.cleanStr.alphanum(strCommand)
20 - if (strCommand == "Calculate the Test Plan") {intPageStatus = 20}
21 - if (strCommand == "Create a new Test Plan") {intPageStatus = 40}
22 - if(boDebug){println "'" + strCommand + "'' received, pagestatus = " + intPageStatus}
23 - }
24 - else{
16 + strCommand = request.get("butAction")?: "none"
17 + if (strCommand == null){
25 25   strCommand = "none"
26 26   intPageStatus = 0
20 + }
21 + else{
22 + strCommand = services.cleanStr.alphanum(strCommand)
23 + if (strCommand == "Calculate the Test Plan") {intPageStatus = 20}
24 + if (strCommand == "Create a new Test Plan") {intPageStatus = 40}
27 27   if(boDebug){println strCommand + " received, pagestatus = " + intPageStatus}
28 28   }
29 29