Foundry: Added an additional span in the HTML for the filterControls

git-svn-id: https://svn.libreccm.org/ccm/trunk@3563 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2015-08-10 18:09:26 +00:00
parent 0c962effa9
commit 6904c2ad79
1 changed files with 85 additions and 84 deletions

View File

@ -260,6 +260,7 @@
</label> </label>
<xsl:choose> <xsl:choose>
<xsl:when test="./multiple = 'true'"> <xsl:when test="./multiple = 'true'">
<span class="category-input">
<xsl:element name="input"> <xsl:element name="input">
<xsl:attribute name="type">text</xsl:attribute> <xsl:attribute name="type">text</xsl:attribute>
<xsl:attribute name="size">42</xsl:attribute> <xsl:attribute name="size">42</xsl:attribute>
@ -342,7 +343,7 @@
</xsl:choose> </xsl:choose>
</xsl:for-each> </xsl:for-each>
</select> </select>
</span>
<script type="text/javascript"> <script type="text/javascript">
$("#<xsl:value-of select="concat(./@label, 'AvailableCategories')"/>").change(function() { $("#<xsl:value-of select="concat(./@label, 'AvailableCategories')"/>").change(function() {
var catFilterId = "<xsl:value-of select="$filterId"/>"; var catFilterId = "<xsl:value-of select="$filterId"/>";
@ -394,7 +395,7 @@
<xsl:template name="filterControlsSortFields"> <xsl:template name="filterControlsSortFields">
<!-- <xsl:if test="count(./controls/sortFields/sortField) &gt; 1">--> <!-- <xsl:if test="count(./controls/sortFields/sortField) &gt; 1">-->
<!-- <code>sortFields</code>--> <!-- <code>sortFields</code>-->
<span> <span class="sortBy">
<label> <label>
<xsl:attribute name="for"> <xsl:attribute name="for">
<xsl:value-of select="concat(../../@customName, 'SortBy')"/> <xsl:value-of select="concat(../../@customName, 'SortBy')"/>