]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix bug 1357 to avoid creating l10n.js file if only collecting olink data.
authorBob Stayton <bobs@sagehill.net>
Wed, 1 Jul 2015 17:00:45 +0000 (17:00 +0000)
committerBob Stayton <bobs@sagehill.net>
Wed, 1 Jul 2015 17:00:45 +0000 (17:00 +0000)
xsl/webhelp/xsl/webhelp-common.xsl

index 0f99d193b014dabb9d95284503f05ea23194aaaf..cfbda4c1ec10bd9981d181d1f7ae8af6a355a4f4 100644 (file)
@@ -453,7 +453,9 @@ border: none; background: none; font-weight: none; color: none; }
        </xsl:choose>
        
 
-       <xsl:call-template name="l10n.js"/>
+        <xsl:if test="$collect.xref.targets != 'only'">
+          <xsl:call-template name="l10n.js"/>
+        </xsl:if>
     </xsl:template>