Browse Source

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 5 years ago
parent
commit
2a5c2578fb
1 changed files with 2 additions and 2 deletions
  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;