[LON-CAPA-cvs] cvs: loncom /publisher publisher.html
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 21 Mar 2002 20:39:17 -0000
albertel Thu Mar 21 15:39:17 2002 EDT
Modified files:
/loncom/publisher publisher.html
Log:
- both hitting enter and clicking work now, BUG#211 closed
Index: loncom/publisher/publisher.html
diff -u loncom/publisher/publisher.html:1.18 loncom/publisher/publisher.html:1.19
--- loncom/publisher/publisher.html:1.18 Wed Mar 20 17:28:33 2002
+++ loncom/publisher/publisher.html Thu Mar 21 15:39:17 2002
@@ -73,57 +73,56 @@
<body bgcolor="#99ff99">
<table border=0><tr><th bgcolor="#aaaaaa" height=20>
<table border=0><tr valign="middle">
-<form name="publisher" action="/adm/publish" target="_parent" method="post" onSubmit="getfilename();">
+<form name="publisher" action="/adm/publish" target="_parent" method="post">
<td bgcolor="#ccffcc">
<input type="hidden" name="filename" value="">
-<input type="button" value="Publish this Resource">
+<input type="button" value="Publish this Resource" onClick="getfilename();">
</td></form>
-<form name="dpublisher" action="/adm/pubdir" target="LONCAPAToBePublished"
-method="post" onSubmit="getdfilename();">
+<form name="dpublisher" action="/adm/pubdir" target="LONCAPAToBePublished" method="post">
<td bgcolor="#ccffcc">
<input type="hidden" name="filename" value="">
-<input type="button" value="List Directory">
+<input type="button" value="List Directory" onClick="getdfilename();">
</td></form>
<form name="cp" action="/adm/cfile" target="_parent" method="post" onSubmit="getcpfilename();">
<td bgcolor="#ccffcc">
<input type="hidden" name="filename" value="">
<input type="hidden" name="action" value="copy">
<input type="text" size=10 name="newfilename" value="">
-<input type="button" value="Copy">
+<input type="button" value="Copy" onClick="getcpfilename();">
</td></form>
<form name="upublisher" action="/adm/upload" target="_parent"
-method="post" enctype="multipart/form-data" onSubmit="getufilename();">
+method="post" enctype="multipart/form-data">
<td bgcolor="#ccffcc" valign="top">
<input type="hidden" name="filename" value="">
<input type="file" name="upfile" size="10">
-<input type="button" value="Upload file">
+<input type="button" value="Upload file" onClick="getufilename();">
</td></form></tr>
<tr valign="middle">
-<form name="rpublisher" action="/adm/retrieve" target="_parent" method="post" onSubmit="getrfilename();">
+<form name="rpublisher" action="/adm/retrieve" target="_parent" method="post">
<td bgcolor="#ccffcc">
<input type="hidden" name="filename" value="">
-<input type="button" value="Retrieve Old Version">
+<input type="button" value="Retrieve Old Version" onClick="getrfilename();">
</td></form>
-<form name="del" action="/adm/cfile" target="_parent" method="post" onSubmit="getdelfilename();">
+<form name="del" action="/adm/cfile" target="_parent" method="post">
<td bgcolor="#ccffcc">
<input type="hidden" name="filename" value="">
<input type="hidden" name="action" value="delete">
-<input type="button" value="Delete">
+<input type="button" value="Delete" onClick="getdelfilename();">
</td></form>
<form name="rename" action="/adm/cfile" target="_parent" method="post" onSubmit="getrenamefilename();">
<td bgcolor="#ccffcc">
<input type="hidden" name="filename" value="">
<input type="hidden" name="action" value="rename">
<input type="text" size=10 name="newfilename" value="">
-<input type="button" value="Rename">
+<input type="button" value="Rename" onClick="getrenamefilename();">
</td></form>
<form name="newdir" action="/adm/cfile" target="_parent" method="post" onSubmit="getnewdirfilename();">
<td bgcolor="#ccffcc">
<input type="hidden" name="filename" value="">
<input type="hidden" name="action" value="newdir">
<input type="text" size=10 name="newfilename" value="">
-<input type="button" value="New Subdirectory">
+<input type="button" value="New Subdirectory" onClick="getnewdirfilename();">
</td></form>
</tr>
</table>