A very simple JavaScript based protection that will alert a user if they are navigating away from a modified Node Edit form without saving. It uses a standard JavaScript confirm dialog that allows the user to either continue what they were doing, or cancel the move allowing them the opportunity to save. It marks the form as dirty by using the blur event of the node fields.
This module was sponsored by Vardot, Phase2 Technology and KYbest.
Supporting organizations:
Ongoing maintenance and support
Project information
- caution Maintenance fixes only
Considered feature-complete by its maintainers. - Project categories: Administration tools, Content editing experience, Developer tools
- chart icon5,198 sites report using this module
- Created by febbraro on , updated
- shieldStable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
8.x-1.2
Stable release covered by the Drupal Security Team
released 22 January 2025
Works with Drupal: ^8 || ^9 || ^10 || ^11
Install:
Development version: 8.x-1.x-dev updated 22 Jan 2025 at 16:15 UTC