|
|
| Participants: |
Sam Marshall
|
| Security Level: |
None
|
| Resolved date: |
18/Nov/08
|
| Affected Branches: |
MOODLE_20_STABLE
|
| Fixed Branches: |
MOODLE_20_STABLE
|
|
(Bug found by our QA staff)
If you tick some completion tickboxes (with AJAX on), they tick instantly in the page. If you then go to another page, and return to the course page by clicking Back in the browser, the new tick values are lost. This could confuse users.
|
|
Description
|
(Bug found by our QA staff)
If you tick some completion tickboxes (with AJAX on), they tick instantly in the page. If you then go to another page, and return to the course page by clicking Back in the browser, the new tick values are lost. This could confuse users. |
Show » |
|
1) I added a form with a hidden value set to 0 on the course view page (when completion is on).
2) JavaScript sets this value to 1 if you toggle any completion tickbox
3) If the value is 1 when the page first loads, then JS figures you must have used the back button, sets it to 0, and does a reload.