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

From version 2.17
edited by SuperUwe Trueggelmann
on 2022/09/28 17:21
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,19 +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 is '" + strCommand + "'."}
19 -// strCommand = services.cleanStr.alphanum(strCommand)
20 - if(boDebug){println services.cleanStr.alphanum(strCommand)}
21 - if (strCommand == "Calculate the Test Plan") {intPageStatus = 20}
22 - if (strCommand == "Create a new Test Plan") {intPageStatus = 40}
23 - if(boDebug){println "'" + strCommand + "' received, pagestatus = " + intPageStatus}
24 - }
25 - else{
26 - if(boDebug){println "strCommand is null."}
16 + strCommand = request.get("butAction")?: "none"
17 + if (strCommand == null){
27 27   strCommand = "none"
28 28   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}
29 29   if(boDebug){println strCommand + " received, pagestatus = " + intPageStatus}
30 30   }
31 31