[Xsltforms-support] Xsltforms minor bug since r560
Brought to you by:
alain-couthures
From: Javier D. <jd...@tc...> - 2015-03-05 07:59:01
|
Hello, I have noticed that in change r560, new parameter 'properties' was included in javascript function 'XsltForms_dispatch', but in some invocations no new parameter was added. Nothing fails to me, but i think it should be corrected changing the following: $ svn diff -x -ubw xsltforms.xsl Index: xsltforms.xsl =================================================================== --- xsltforms.xsl (revisión: 610) +++ xsltforms.xsl (copia de trabajo) @@ -4306,7 +4306,7 @@ <xsl:value-of select="local-name()"/> <xsl:text>",</xsl:text> <xsl:call-template name="toScriptParam"><xsl:with-param name="p" select="@model"/></xsl:call-template> - <xsl:text>,</xsl:text> + <xsl:text>,null,</xsl:text> <xsl:call-template name="toScriptParam"><xsl:with-param name="p" select="@if"/></xsl:call-template> <xsl:text>,</xsl:text> <xsl:call-template name="toScriptParam"><xsl:with-param name="p" select="@while"/></xsl:call-template> @@ -4468,7 +4468,7 @@ <xsl:call-template name="toScriptParam"><xsl:with-param name="p" select="$control"/></xsl:call-template> </xsl:otherwise> </xsl:choose> - <xsl:text>,</xsl:text> + <xsl:text>,null,</xsl:text> <xsl:call-template name="toScriptParam"><xsl:with-param name="p" select="@if"/></xsl:call-template> <xsl:text>,</xsl:text> <xsl:call-template name="toScriptParam"><xsl:with-param name="p" select="@while"/></xsl:call-template> @@ -4867,7 +4867,7 @@ <xsl:value-of select="$vn_subform"/> <xsl:text>,"xforms-submit",</xsl:text> <xsl:call-template name="toScriptParam"><xsl:with-param name="p" select="@submission"/></xsl:call-template> - <xsl:text>,</xsl:text> + <xsl:text>,null,</xsl:text> <xsl:call-template name="toScriptParam"><xsl:with-param name="p" select="@if"/></xsl:call-template> <xsl:text>,</xsl:text> <xsl:call-template name="toScriptParam"><xsl:with-param name="p" select="@while"/></xsl:call-template> |