--- loncom/interface/lonhtmlcommon.pm 2011/10/23 00:27:10 1.294 +++ loncom/interface/lonhtmlcommon.pm 2011/12/08 21:37:46 1.295 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common html routines # -# $Id: lonhtmlcommon.pm,v 1.294 2011/10/23 00:27:10 raeburn Exp $ +# $Id: lonhtmlcommon.pm,v 1.295 2011/12/08 21:37:46 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -748,13 +748,12 @@ parameter setting wizard. sub pjump_javascript_definition { my $Str = <<END; function pjump(type,dis,value,marker,ret,call,hour,min,sec) { - parmwin=window.open("/adm/rat/parameter.html?type="+escape(type) + openMyModal("/adm/rat/parameter.html?type="+escape(type) +"&value="+escape(value)+"&marker="+escape(marker) +"&return="+escape(ret) +"&call="+escape(call)+"&name="+escape(dis) +"&defhour="+escape(hour)+"&defmin="+escape(min) - +"&defsec="+escape(sec),"LONCAPAparms", - "height=350,width=350,scrollbars=no,menubar=no"); + +"&defsec="+escape(sec)+"&modal=1",350,350,'no'); } END return $Str;