--- rat/lonratparms.pm 2009/04/04 21:46:02 1.27 +++ rat/lonratparms.pm 2011/12/08 22:11:48 1.29 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Set parameters inside of the RAT # -# $Id: lonratparms.pm,v 1.27 2009/04/04 21:46:02 bisitz Exp $ +# $Id: lonratparms.pm,v 1.29 2011/12/08 22:11:48 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -80,22 +80,16 @@ sub handler { my %lt=&Apache::lonlocal::texthash('pa' => 'Parameter', 'de' => 'Default', 'va' => 'Value', - 'se' => 'Set'); + 'se' => 'Set?'); my $js = (< - function pclose() { - parmwin=window.open("/adm/rat/empty.html","LONCAPAparms", - "height=350,width=350,scrollbars=no,menubar=no"); - parmwin.close(); - } - $pjump_def function stpr() { eval("document.parameters."+document.parameters.pres_marker.value+ ".value=document.parameters.pres_value.value"); - pclose(); + modalWindow.close(); } @@ -123,8 +117,8 @@ $start_page - - +
$lt{'pa'}$lt{'de'}$lt{'va'}$lt{'se'}?
+ ENDDOCUMENT ### %display=&Apache::lonlocal::texthash(%display);
$lt{'pa'}$lt{'de'}$lt{'va'}$lt{'se'}