Project

General

Profile

« Previous | Next » 

Revision 3549

use hidden input to pass desired form action rather than tying it to the button label.

View differences:

lib/style/skins/sanparks/SaeonUpload.jspx
68 68
                <form name="uploadForm" method="post" action="./upload.jsp" enctype="multipart/form-data" onsubmit="return allowUploadSubmit(this)">
69 69
                    <input name="returnfield" type="hidden" value="distinfo/stdorder/digform/digtopt/onlinopt/computer/networka/networkr"/>
70 70
                    <input name="pathExpr" type="hidden" value="/metadata/distinfo/resdesc"/>
71
                    <input name="action" type="hidden" value="Upload"/>
71 72
                    
72 73
                    <!-- Set the pathValue to the username (the scope) -->
73 74
                    <jsp:element name="input">
......
161 162
                                </span>
162 163
                            </td>
163 164
                            <td align="right">
164
                                <input name="action" value="Upload" type="submit" class="button_login"/>
165
                                <input name="submit" value="Upload" type="submit" class="button_login"/>
165 166
                            </td>
166 167
                        </tr>
167 168
                    </table>

Also available in: Unified diff