Skip to content

Commit

Permalink
Fixed a missing call to "js" escaping mode that could cause language …
Browse files Browse the repository at this point in the history
…specific javascript errors

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@2820 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Thibault Le Meur committed Apr 30, 2007
1 parent 3b354e0 commit f0c27da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qanda.php
Original file line number Diff line number Diff line change
Expand Up @@ -1425,7 +1425,7 @@ function do_multiplechoice($ia)
{
$maxanswscript .= "\t\t\t\t\tif (count > max)\n"
. "\t\t\t\t\t\t{\n"
. "\t\t\t\t\t\talert('".$clang->gT("Please choose at most")." ' + max + ' ".$clang->gT("answer(s) for question")." \"".$ia[3]."\"');\n"
. "\t\t\t\t\t\talert('".$clang->gT("Please choose at most","js")." ' + max + ' ".$clang->gT("answer(s) for question","js")." \"".$ia[3]."\"');\n"
. "\t\t\t\t\t\tif (me.type == 'checkbox') {me.checked = false;}\n"
. "\t\t\t\t\t\tif (me.type == 'text') {me.value = '';}\n"
. "\t\t\t\t\t\treturn max;\n"
Expand Down

0 comments on commit f0c27da

Please sign in to comment.