Revision 5783
Added by ben leinfelder over 13 years ago
resultset.xsl | ||
---|---|---|
138 | 138 |
}; |
139 | 139 |
load( |
140 | 140 |
'<xsl:value-of select="$contextURL" />/metacat', //url |
141 |
params, //params |
|
142 |
'<xsl:text>add_</xsl:text><xsl:value-of select="replace(./docid, '\.', '_')"/>' // div |
|
141 |
params |
|
143 | 142 |
); |
144 | 143 |
loadCart(); |
145 | 144 |
</xsl:attribute> |
... | ... | |
161 | 160 |
}; |
162 | 161 |
load( |
163 | 162 |
'<xsl:value-of select="$contextURL" />/metacat', //url |
164 |
params, //params |
|
165 |
'<xsl:text>remove_</xsl:text><xsl:value-of select="replace(./docid, '\.', '_')"/>' // div |
|
163 |
params |
|
166 | 164 |
); |
167 | 165 |
loadCart(); |
168 | 166 |
</xsl:attribute> |
Also available in: Unified diff
use post() method rather than load() when the div is not given - allows calling a metacat method without replacing any content on the page