--- loncom/interface/lonpdfupload.pm 2014/12/12 14:21:22 1.24 +++ loncom/interface/lonpdfupload.pm 2015/06/09 21:22:57 1.25 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # PDF Form Upload Handler # -# $Id: lonpdfupload.pm,v 1.24 2014/12/12 14:21:22 raeburn Exp $ +# $Id: lonpdfupload.pm,v 1.25 2015/06/09 21:22:57 damieng Exp $ # # Copyright Michigan State University Board of Trustees # @@ -122,6 +122,7 @@ sub handler() { sub get_javascripts() { my $message = &mt('Please choose a PDF-File.'); + &js_escape(\$message); # simple test if the upload ends with ".pdf" # it's only for giving a message to the user