Confirmation if exiting from new blog post

This is a forum to suggest new features for mojoPortal. 

This thread is closed to new posts. You must sign in to post in the forums.
4/3/2011 3:44:32 PM
Gravatar
Total Posts 251

Confirmation if exiting from new blog post

I wrote a long blog post, I was changing the category, then i pressed backspace because I wanted to delete something... bad error, i got a page back and my long post disappeared (thanks to lazarus to resurrect my writing)

What about a confirmation if exiting from new blog post page?

http://www.openjs.com/scripts/events/exit_confirmation.php

4/4/2011 7:17:07 AM
Gravatar
Total Posts 18439

Re: Confirmation if exiting from new blog post

Its a nice idea. I've added a wish list item in our project tracker for this. I think we would want to do it anywhere we have an editor, but only if the content  in the editor has changed since the page loaded, so we will need a way to capture content changed event from each of the supported editors and use that to wire up the script to prompt before leaving the page.

Best,

Joe

4/25/2011 6:52:57 AM
Gravatar
Total Posts 18439

Re: Confirmation if exiting from new blog post

fyi, this is now implemented in the source code repository so it will be in the next release. You can even notice it here in the forums if you start to reply but then try to navigate away before posting it prompts you.

This is a good feature, I know this is going to prevent some heartburn, I've had times myself where I was writing a long article or blog post and by some keyboard combination in the CKeditor it jumped back a page and lost what I was working on.

Best,

Joe

4/25/2011 10:38:01 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Confirmation if exiting from new blog post

This is definitely a great addition and should really help out our casual users. Thanks guys!

Jamie

4/25/2011 11:24:17 AM
Gravatar
Total Posts 2239

Re: Confirmation if exiting from new blog post

Very Very Nice! Great idea magnetic_dud!

5/3/2011 9:54:39 AM
Gravatar
Total Posts 251

Re: Confirmation if exiting from new blog post

It works very well! yes

You must sign in to post in the forums. This thread is closed to new posts.