--- loncom/interface/lonconfigsettings.pm 2015/05/22 16:52:16 1.21.4.7 +++ loncom/interface/lonconfigsettings.pm 2016/08/04 17:34:35 1.21.4.8 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: lonconfigsettings.pm,v 1.21.4.7 2015/05/22 16:52:16 raeburn Exp $ +# $Id: lonconfigsettings.pm,v 1.21.4.8 2016/08/04 17:34:35 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -74,6 +74,7 @@ sub print_header { \@code_order); if (@code_order) { my $noinstcodestr = &mt('You indicated cloning based on category, but did not select any categories.'); + &js_escape(\$noinstcodestr); $instcode_check = <<"ENDSCRIPT"; if (formname == document.display) { if (formname.cloners_instcode.length) { @@ -117,6 +118,7 @@ ENDSCRIPT } } my $alert = &mt('You must select at least one functionality type to display.'); + &js_escape(\$alert); my $js = '