--- loncom/homework/inputtags.pm 2011/12/08 02:59:34 1.297
+++ loncom/homework/inputtags.pm 2011/12/10 18:10:56 1.298
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# input definitons
#
-# $Id: inputtags.pm,v 1.297 2011/12/08 02:59:34 www Exp $
+# $Id: inputtags.pm,v 1.298 2011/12/10 18:10:56 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1647,27 +1647,14 @@ sub previous_tries {
'
'.''.&mt('Submission #').' | '.&mt('Try').
' | '.
&mt('Submitted Answer').' | ';
- $output =&Apache::loncommon::start_scrollbox('420px','400px','400px').
- ''.
- &Apache::loncommon::end_scrollbox();
- #return $output;
- $output = &Apache::loncommon::js_ready($output);
+ $output ='';
my $tries_text = &get_tries_text('link');
- my $start_page =
- &Apache::loncommon::start_page($tries_text, undef,
- {'only_body' => 1,
- 'bgcolor' => '#FFFFFF',
- 'js_ready' => 1,
- 'inherit_jsmath' => 1, });
- my $end_page =
- &Apache::loncommon::end_page({'js_ready' => 1,});
my $prefix = $env{'form.request.prefix'};
$prefix =~ tr{.}{_};
my $function_name = "LONCAPA_previous_tries_".$prefix.
$Apache::lonxml::curdepth.'_'.$env{'form.counter'};
- my $result = &Apache::loncommon::modal_adhoc_script($function_name,420,410,$start_page.$output.$end_page).
- "".&mt($tries_text)."
";
+ my $result = &Apache::loncommon::modal_adhoc_window($function_name,420,410,$output,&mt($tries_text))."
";
return $result;
}