Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.8.2, 1.9
-
Fix Version/s: None
-
Component/s: AJAX
-
Labels:None
-
Affected Branches:MOODLE_18_STABLE, MOODLE_19_STABLE
Description
None of the AJAX requests use success callbacks. Instead the interface provides immediate feedback and assumes that the request will succeed. This might be acceptable.
However none of the AJAX requests use failure callbacks either. This means that some time after an AJAX request fails, when the user does a reload of the page in question, things will appear to have moved around unexpectedly.
If an AJAX request fails, the user should be notified, and the intended change should be undone in the interface. Alternatively changes are not visible until the AJAX request succeeds, and a progress indicator is shown while waiting.
Issue Links
Activity
- All
- Comments
- History
- Activity
- Source
- Test Sessions
An implementation of section moving with callbacks is included in a patch for
MDL-11539.MDL-11539.