From: dpvc v. a. <we...@ma...> - 2005-08-04 00:56:37
|
Log Message: ----------- Can't separate the form into two separate forms (as in the previous update) otherwise the values of the checkboxes in the lower section are lost when a button in the upper section is clicked. So we'll have to assume that if a user selects a file, he really wants it to be uploaded. (He can always use the BACK button on the browser to back out of it if necessary.) Modified Files: -------------- webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor: FileManager.pm Revision Data ------------- Index: FileManager.pm =================================================================== RCS file: /webwork/cvs/system/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm,v retrieving revision 1.12 retrieving revision 1.13 diff -Llib/WeBWorK/ContentGenerator/Instructor/FileManager.pm -Llib/WeBWorK/ContentGenerator/Instructor/FileManager.pm -u -r1.12 -r1.13 --- lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm +++ lib/WeBWorK/ContentGenerator/Instructor/FileManager.pm @@ -314,25 +314,6 @@ ), ); - print CGI::end_table(); - print CGI::hidden({name=>'pwd',value=>$self->{pwd}}); - print CGI::hidden({name=>'formAction'}); - print CGI::end_multipart_form(); - - my $fileManagerPage = $self->r->urlpath->newFromModule($self->r->urlpath->module, courseID => $self->{courseName}); - my $fileManagerURL = $self->systemLink($fileManagerPage, authen => 0); - - print CGI::start_multipart_form( - -method=>"POST", - -action=>$fileManagerURL, - -id=>"FileManager", - -name=>"FileManager", - -style=>"margin:0", - ); - print $self->hidden_authen_fields; - - print CGI::start_table({border=>0,cellpadding=>0,cellspacing=>3, style=>"margin:0 0 0 3em"}); - # # Upload button and checkboxes # |