mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-54852 assignment: Suppress "leave page" warning after save
If the user navigates away from the grading page immediately after saving the grading form, the browser warning can be safely omitted, as there are no unsaved changes. This is achieved by calling `reset_form_dirty_state()` of the core_formchangechecker YUI module, which is responsible for the warning.
- Loading branch information
1 parent
c1971a2
commit ce50f55
Showing
2 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters