Commit 2d1227e
committed
Tweak sticky answers with problem randomization a bit more.
Previously if a new problem version is being opened, then the answers
from a previous version were deleted from the form fields of the last
form submission.
Now, the form fields form any previous form submission are simply not
even sent to PG. If this is a new problem version, there is absolutely
nothing in the form fields that PG needs. This is a much more efficient
and thorough approach. It ensures that if a problem uses some other
inputs that are not part of the answer, those inputs are cleared as
well. GeoGebra problems do this for instance to save their state.1 parent 9d36168 commit 2d1227e
1 file changed
+12
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
534 | | - | |
535 | | - | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
536 | 540 | | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
546 | 544 | | |
547 | 545 | | |
548 | 546 | | |
| |||
555 | 553 | | |
556 | 554 | | |
557 | 555 | | |
558 | | - | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
559 | 559 | | |
560 | 560 | | |
561 | 561 | | |
| |||
0 commit comments