[LON-CAPA-cvs] cvs: loncom /interface londocs.pm
www
lon-capa-cvs@mail.lon-capa.org
Wed, 04 Dec 2002 16:19:05 -0000
www Wed Dec 4 11:19:05 2002 EDT
Modified files:
/loncom/interface londocs.pm
Log:
Bug 1014 - group search and import load to the right folder
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.38 loncom/interface/londocs.pm:1.39
--- loncom/interface/londocs.pm:1.38 Wed Dec 4 09:02:49 2002
+++ loncom/interface/londocs.pm Wed Dec 4 11:19:05 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.38 2002/12/04 14:02:49 www Exp $
+# $Id: londocs.pm,v 1.39 2002/12/04 16:19:05 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -562,6 +562,11 @@
<input type="hidden" name="cmd" />
<input type="hidden" name="folder" />
</form>
+<form name="simpleedit" method="post" action="/adm/coursedocs">
+<input type=hidden name="importdetail" value="">
+<input type="hidden" name="folder" />
+</form>
+
ENDNEWSCRIPT
}
# -------------------------------------------------------------------- Body tag
@@ -605,13 +610,11 @@
</form>
</td>
<td bgcolor="#DDDDDD">
-<form action="/adm/coursedocs" method="post" name="simpleedit">
-<input type="hidden" name="folder" value="$folder">
-<input type=hidden name="importdetail" value="">
+<form action="/adm/coursedocs" method="post" name="simpleeditdefault">
<input type=button onClick=
-"javascript:groupsearch()" value="Search">
+"javascript:document.forms.simpleedit.folder.value='$folder';groupsearch()" value="Search">
<input type=button onClick=
-"javascript:groupimport();" value="Import">
+"javascript:document.forms.simpleedit.folder.value='$folder';groupimport();" value="Import">
</form>
</td><td bgcolor="#DDDDDD">
<form action="/adm/coursedocs" method="post" name="newfolder">
@@ -700,13 +703,12 @@
</form>
</td>
<td bgcolor="#DDDDDD">
-<form action="/adm/coursedocs" method="post" name="simpleedit">
-<input type="hidden" name="folder" value="$folder">
+<form action="/adm/coursedocs" method="post" name="simpleeditsupplement">
<input type=hidden name="importdetail" value="">
<input type=button onClick=
-"javascript:groupsearch()" value="Search">
+"javascript:document.forms.simpleedit.folder.value='$folder';groupsearch()" value="Search">
<input type=button onClick=
-"javascript:groupimport();" value="Import">
+"javascript:document.forms.simpleedit.folder.value='$folder';groupimport();" value="Import">
</form>
</td><td bgcolor="#DDDDDD">
<form action="/adm/coursedocs" method="post" name="supnewfolder">