Up to [LON-CAPA] / loncom / homework
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Current tag: version_2_6_3
Bug 5579. Form elements named problemmode were moved in structuretags.pm rev 1.408. The result was that a button click of 'Calculate Answers' resulted in @{$env{'form.problemmode'}} in which the last array item was 'View' not 'Calculate Answers'. Eliminate the dependency on form element ordering by setting the value of problemmode on a buttonclick via javascript:setmode().