--- loncom/interface/londocs.pm 2003/06/16 13:51:46 1.61 +++ loncom/interface/londocs.pm 2003/07/05 10:07:11 1.62 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.61 2003/06/16 13:51:46 www Exp $ +# $Id: londocs.pm,v 1.62 2003/07/05 10:07:11 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -571,6 +571,15 @@ function makenewext(targetname) { window.open('/adm/rat/extpickframe.html'); } +function makeexamupload() { + var title=prompt('Listed Title for the Uploaded Score'); + if (title) { + this.document.forms.newexamupload.importdetail.value= + title+'=/res/lib/templates/examupload.problem'; + this.document.forms.newexamupload.submit(); + } +} + function makesmppage() { var title=prompt('Listed Title for the Page'); if (title) { @@ -777,6 +786,15 @@ onClick="javascript:makesmppage();" /> $ onClick="javascript:makesmpproblem();" />$help{'Creating_From_Template'} +