Skip to content

Commit

Permalink
Pass $textarea-id param to onSPARQLResultsLoad
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Nov 18, 2023
1 parent b1f3d3b commit bdd7e9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@ LIMIT 100]]></sp:text>
<xsl:with-param name="endpoint" select="$endpoint"/>
<xsl:with-param name="results-uri" select="$results-uri"/>
<xsl:with-param name="container" select="id($results-container-id, ixsl:page())"/>
<xsl:with-param name="textarea-id" select="$textarea-id"/>
<xsl:with-param name="chart-canvas-id" select="$container-id || '-chart-canvas'"/>
<xsl:with-param name="query" select="$query"/>
</xsl:call-template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ WHERE
<xsl:param name="category" as="xs:string?"/>
<xsl:param name="series" as="xs:string*"/>
<xsl:param name="push-state" select="true()" as="xs:boolean"/>
<xsl:param name="textarea-id" select="'query-string'" as="xs:string"/> <!-- TO-DO: fix -->
<xsl:param name="textarea-id" as="xs:string"/>
<xsl:param name="query" as="xs:string?"/>
<xsl:param name="endpoint" as="xs:anyURI?"/>
<xsl:param name="content-method" select="xs:QName('ixsl:replace-content')" as="xs:QName"/>
Expand Down Expand Up @@ -1022,6 +1022,7 @@ WHERE
<xsl:call-template name="onSPARQLResultsLoad">
<xsl:with-param name="results-uri" select="$uri"/>
<xsl:with-param name="container" select="id($container-id, ixsl:page())"/>
<!-- TO-DO: pass $textarea-id -->
<!-- we don't want to push a state that was just popped -->
<xsl:with-param name="push-state" select="false()"/>
<xsl:with-param name="query" select="$query-string"/>
Expand Down

0 comments on commit bdd7e9f

Please sign in to comment.