Project

General

Profile

« Previous | Next » 

Revision 2502

Added by sgarg over 19 years ago

Replacing '' with '_' so that there is no ambiguity in javascript ids generated as part of the resultset

View differences:

lib/style/common/resultset.xsl
97 97
             <td class="text_plain">
98 98
               <form action="@servlet-path@" method="POST">
99 99
                 <xsl:attribute name="name">
100
                   <xsl:value-of select="translate(./docid, '()-.', '')" />
100
                   <xsl:value-of select="translate(./docid, '()-.', '____')" />
101 101
                 </xsl:attribute>
102 102

  
103 103
                 <input type="hidden" name="qformat" />
......
120 120
                 </xsl:for-each>
121 121

  
122 122
                 <a>
123
                   <xsl:attribute name="href">javascript:submitform('read',document.<xsl:value-of select="translate(./docid, '()-.', '')"/>)</xsl:attribute>
123
                   <xsl:attribute name="href">javascript:submitform('read',document.<xsl:value-of select="translate(./docid, '()-.', '____')"/>)</xsl:attribute>
124 124
                   <xsl:text>&#187;&#160;</xsl:text>
125 125
                   <xsl:choose>
126 126
                     <xsl:when test="./param[@name='dataset/title']!=''">

Also available in: Unified diff