Explorar el Código

Merge pull request #13759 from mayx/HPCC-23690-HThorWU

HPCC-23690 WsECL SOAP Test Doesn't Generate HThor Workunit

Reviewed-By: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman hace 5 años
padre
commit
2a5c2578fb
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      esp/xslt/wsecl3_xmltest.xsl

+ 2 - 2
esp/xslt/wsecl3_xmltest.xsl

@@ -363,9 +363,9 @@ function onSendRequest()
     document.getElementById("resp_body").value = "";
     document.getElementById("resp_header").value = "";
 
-    var url = "]]></xsl:text><xsl:value-of select="$destination"/><xsl:text disable-output-escaping="yes"><![CDATA[";
+    var url = "]]></xsl:text><xsl:value-of select="$destination"/><xsl:if test="$showJobType"><xsl:text disable-output-escaping="yes"><![CDATA[";
     if (document.getElementById("job_type").value == "WORKUNIT")
-        url = "]]></xsl:text><xsl:value-of select="$createWorkunitDestination"/><xsl:text disable-output-escaping="yes"><![CDATA[";
+        url = "]]></xsl:text><xsl:value-of select="$createWorkunitDestination"/></xsl:if><xsl:text disable-output-escaping="yes"><![CDATA[";
 
     var user = document.getElementById("username").value;
     var passwd = document.getElementById("password").value;