Project

General

Profile

« Previous | Next » 

Revision 2070

Added by Matt Jones about 20 years ago

Removed unused references to abstractpath, and some unudes javascript.

View differences:

resultset.xsl
47 47
          <![CDATA[
48 48
          function submitform(action,form_ref) {
49 49
              form_ref.action.value=action;
50
              form_ref.abstractpath.value="";
51 50
              form_ref.sessionid.value="]]><xsl:value-of select="$sessid" /><![CDATA[";
52 51
              form_ref.qformat.value="]]><xsl:value-of select="$qformat" /><![CDATA[";
53 52
              form_ref.submit();
54 53
          }
55 54

  
56
/*******************************************************************************
57
*** MB thinks these could be deleted? Matt to confirm
58
*******************************************************************************/
59

  
60
           function submitform1(action, abstractpath, form_ref) {
61
               form_ref.action.value=action;
62
               form_ref.abstractpath.value=abstractpath;
63
               form_ref.qformat.value="]]><xsl:value-of select="$qformat" /><![CDATA[";
64
               form_ref.submit();
65
           }
66
           function submitform2(action, qformat, form_ref) {
67
               form_ref.action.value=action;
68
               form_ref.qformat.value="]]><xsl:value-of select="$qformat" /><![CDATA[";
69
               form_ref.abstractpath.value="";
70
               form_ref.submit();
71
           }
72

  
73
/*******************************************************************************
74
*** end potential deletion
75
*******************************************************************************/
76

  
77 55
          ]]>
78 56
        </script>
79 57
      </head>
......
121 99
                 <xsl:attribute name="name">
122 100
                   <xsl:value-of select="translate(./docid, '()-.', '')" />
123 101
                 </xsl:attribute>
124
                <!-- abstractpath tells the servlet where the abstract is in
125
                      the document.  The % sign is used because the path could
126
                      be resource/literature or resource/dataset. -->
127
                 <!-- specified down IN javascript:submitform1('read',abstractpath,docid) -->
128
                 <input type="hidden" name="abstractpath" />
129
                 <!-- specified down IN javascript:submitform2('read','zip',docid) -->
130 102

  
131 103
                 <input type="hidden" name="qformat" />
132 104
                 <input type="hidden" name="sessionid" />

Also available in: Unified diff