Project

General

Profile

« Previous | Next » 

Revision 5790

ui enhancements:
-Remove all button for the cart
-Add all button for the search results
-use buttons for the add/remove cart actions
-Remove all button for the search criteria
-Add button for the search criteria now clears the tree selection after it saves the selected concepts

View differences:

resultset.xsl
124 124
					<!-- citation -->
125 125
					<xsl:call-template name="citation"/>
126 126
					
127
					<!-- edit cart, TODO: reflect status of cart contents -->
127
					<!-- edit cart -->
128 128
					<xsl:if test="$showAdd = 'true'">
129
						<a href="javascript:donothing()">
129
						<input type="button" class="addCartButton">
130 130
							<xsl:attribute name="id">
131 131
								<xsl:text>add_</xsl:text><xsl:value-of select="replace(./docid, '\.', '_')"/>
132 132
							</xsl:attribute>
......
144 144
									);
145 145
								loadCart();	
146 146
							</xsl:attribute>
147
							Add to cart
148
						</a>
147
							<xsl:attribute name="value">
148
								Add to cart
149
							</xsl:attribute>	
150
						</input>
149 151
					</xsl:if>
150 152
					<xsl:if test="$showRemove = 'true'">
151
						<a href="javascript:donothing()">
153
						<input type="button" class="removeCartButton">
152 154
							<xsl:attribute name="id">
153 155
								<xsl:text>remove_</xsl:text><xsl:value-of select="replace(./docid, '\.', '_')"/>
154 156
							</xsl:attribute>
......
166 168
									);
167 169
								loadCart();	
168 170
							</xsl:attribute>
169
							Remove from cart
170
						</a>
171
							<xsl:attribute name="value">
172
								Remove from cart
173
							</xsl:attribute>	
174
						</input>
171 175
					</xsl:if>	
172 176
				</div>
173 177
				

Also available in: Unified diff