--- loncom/interface/londocs.pm 2003/07/05 10:07:11 1.62 +++ loncom/interface/londocs.pm 2003/07/09 10:05:15 1.64 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.62 2003/07/05 10:07:11 www Exp $ +# $Id: londocs.pm,v 1.64 2003/07/09 10:05:15 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -539,13 +539,7 @@ ENDHEADERS $iconpath = $r->dir_config('lonIconsURL') . "/"; my $now=time; -# -# FIXME: hack to disable new problem -# - my $noeggforyou=''; - unless ($ENV{'user.debug'}) { - $noeggforyou='alert("Sorry, not implemented yet."); return 0;'; - } + # print screen $r->print(< @@ -590,11 +584,10 @@ function makesmppage() { } function makesmpproblem() { - $noeggforyou var title=prompt('Listed Title for the Problem'); if (title) { this.document.forms.newsmpproblem.importdetail.value= - title+'=/adm/wrapper/uploaded/$udom/$uname/$now.problem'; + title+'=/res/lib/templates/simpleproblem.problem'; this.document.forms.newsmpproblem.submit(); } }