Skip to content

Commit

Permalink
Correction to javascript for mandatory options and new question (so t…
Browse files Browse the repository at this point in the history
…hat it is hidden at first)

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@187 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Apr 3, 2003
1 parent cacced0 commit 38392c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/html.php
Expand Up @@ -390,7 +390,7 @@
$newquestion .= "\t\tdocument.getElementById('OtherSelection').style.display = 'none';\n";
$newquestion .= "\t\tdocument.addnewquestion.other[1].checked = true;\n";
$newquestion .= "\t\t}\n";
$newquestion .= "\tif (QuestionType == 'S' || QuestionType == 'T')\n";
$newquestion .= "\tif (QuestionType == 'S' || QuestionType == 'T' || QuestionType == '')\n";
$newquestion .= "\t\t{\n";
$newquestion .= "\t\tdocument.getElementById('MandatorySelection').style.display = 'none';\n";
$newquestion .= "\t\tdocument.editquestion.mandatory[1].checked=true;\n";
Expand Down

0 comments on commit 38392c6

Please sign in to comment.