-
Improvement
-
Resolution: Fixed
-
Minor
-
3.5, 4.0.8
-
MOODLE_35_STABLE, MOODLE_400_STABLE
-
MOODLE_403_STABLE
-
Currently to update a user preference from Javascript requires using the M.util.set_user_preference() call.
This uses a ajax script that returns "OK" if the update was sent (but not if it was saved) and also returns HTML if the request fails for any reason.
This is not very ajax-y.
I propose a new core/preferences AMD module that will at least provide a matching set implementation.
- blocks
-
MDL-76974 Deprecate old method of setting user preferences via JS
-
- Closed
-
- caused a regression
-
MDL-79655 Guest preferences are NOT stored in session - ajax request to change preferences is not allowed for guests
-
- Open
-
- Discovered while testing
-
MDL-76878 Prohibiting editownprofile capability breaks functionality of blocks/content bank
-
- Closed
-