AJAX mod editing
From MoodleDocs
Warning: This page is no longer in use. The information contained on the page should NOT be seen as relevant or reliable. |
Scope
Now when we add or update activity/resource to a course, settings of open in new page. And we need to reload page to see course state. We need to change that. Activity/resource settings must be opened in dialog without page redirection, and changes must be seen on course page without reload.
Project
- Create new dialog after "choose new activity or resource" dialog.
- Load activity/resource edit form in new dialog by AJAX.
- Validate form after submit(use AJAX and js for form).
- Save changes(use AJAX).
- Update course content(by AJAX).