Board: GTL QA

Subject

CVS: gtl/src/org/paneris/gtl/view UploadFile.wm,1.5,1.6

Author

TimP (CVS User)

Status

Date

24/06/2003 01:57

Message

Update of /usr/cvsroot/gtl/src/org/paneris/gtl/view
In directory ganesh.paneris.org:/tmp/cvs-serv16420
Modified Files:
UploadFile.wm
Log Message:
Use a javascript submit in the hope of slowing things down to avoid IE bug
Index: UploadFile.wm
===================================================================
RCS file: /usr/cvsroot/gtl/src/org/paneris/gtl/view/UploadFile.wm,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** UploadFile.wm 2002/06/13 07:20:26 1.5
--- UploadFile.wm 2003/06/24 00:57:41 1.6
***************
*** 4,7 ****
--- 4,18 ----
<head>
<title>Gardiner &amp; Torne File Transfer System: Upload new file</title>
+ <SCRIPT LANGUAGE="JavaScript">
+ <!--
+ // There is a problem with IE that it
+ // fails to find the local file sometimes.
+ // This wait is an attempt to let IE synchronise itself.
+ function submitThis(form) {
+ wait(5);
+ return true;
+ }
+ //-->
+ </script>

#include as template "gtl/view/Header.wm"
***************
*** 10,16 ****

<p class="bodycopy">
! You can upload a file to this server by filling in a description, and clicking
! the 'browse' button below to select a file to upload. When you have done this,
! click 'Upload file'.
</p>
<form method="post" action="$util.UploadURL()" enctype="multipart/form-data">
--- 21,27 ----

<p class="bodycopy">
! You can upload a file to this server by filling in a description,
! and clicking the 'browse' button below to select a file to upload.
! When you have done this, click 'Upload file'.
</p>
<form method="post" action="$util.UploadURL()" enctype="multipart/form-data">
***************
*** 37,41 ****
<td>
<font face="arial, helvetica">
! <input type="submit" name="Submit" value="Upload file" class="button">
</font>
</td>
--- 48,54 ----
<td>
<font face="arial, helvetica">
! <input type="submit" name="Submit"
! value="Upload file" class="button"
! ONCLICK="return submitThis(this.form);">
</font>
</td>
***************
*** 45,51 ****
<p class="bodycopy">&nbsp;</p>
<p class="bodycopy">
! Note: If you are uploading a large file, you may have to wait some time before
! the next page appears after clicking the upload button. Please do not click
! it again if the browser's logo is animated.
</p>

--- 58,65 ----
<p class="bodycopy">&nbsp;</p>
<p class="bodycopy">
! Note: If you are uploading a large file,
! you may have to wait some time before
! the next page appears after clicking the upload button.
! Please do not click it again if the browser's logo is animated.
</p>

GTL QA Board

 

Post Follow-up

Search This Board

 



Home -  News -  Reference Sites -  Members -  Partners -  Guidelines -  Philosophy -  Your Details -  Logout