--- loncom/homework/optionresponse.pm 2001/08/06 20:33:23 1.22
+++ loncom/homework/optionresponse.pm 2001/08/13 21:44:24 1.23
@@ -17,17 +17,22 @@ sub start_optionresponse {
push (@Apache::lonxml::namespace,'optionresponse');
my $id = &Apache::response::start_response($parstack,$safeeval);
if ($target eq 'edit') {
- $result.=&Apache::edit::start_table($token)."
Multiple Option Response Question |
-Delete:".
- &Apache::edit::deletelist($target,$token)
- ." | |
\n";
- $result.=&Apache::edit::text_arg('Max Number Of Foils:','max',$token,'4')." |
";
+ $result.=&Apache::edit::start_table($token).
+ "Multiple Option Response Question | Delete:".
+ &Apache::edit::deletelist($target,$token)
+ ." | |
\n";
+ $result.=&Apache::edit::text_arg('Max Number Of Foils:','max',$token,'4').
+ " |
";
$result.="\n";
}
if ($target eq 'modified') {
- my $constructtag=&Apache::edit::get_new_args($token,$parstack,$safeeval,'max');
+ my $constructtag=&Apache::edit::get_new_args($token,$parstack,
+ $safeeval,'max');
if ($constructtag) { $result = &Apache::edit::rebuild_tag($token); }
}
+ if ($target eq 'meta') {
+ $result=&Apache::response::meta_package_write('optionresponse');
+ }
return $result;
}
|