Node Edit Protection module released.

Posted Dec 5, 2008 // 1 comments
Frank:

Thanks to the nudging from irakli and drewish, I finally made the node protection javascript I blogged about here into a module called Node Edit Protection. As it says on the module page, it is 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. Enjoy!

About Frank

Frank Febbraro is the CTO at Phase2. He is obsessed with software and integrating new techniques and practices with proven methods of execution. A combination of comprehension and real world experience enables Frank to attack challenges with a ...

more >

Read Frank's Blog

Comments

by Anonymous (not verified) on Thu, 02/18/2010 - 00:19

great module. Is there a way

great module. Is there a way to use better messages module to display the warning dialog box?

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
  • Allowed HTML tags: <a> <strong> <code> <p> <img> <ul> <ol> <li> <h2> <h3> <h4> <b> <u> <i>
  • You may insert videos with [video:URL]

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.