Download & Extend

Confirm dialog close when user has entered data and not saved

Project:Popups: Add and Reference
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Currently a user can fill in the form and click outside the box. When this happens, the data disappears and the user has to fill out the form again. Perhaps, a confirm dialog should show that gives the user the option to delete their data, to save their data, or to cancel and return to their data.

Comments

#1

Category:bug report» feature request

This is the currently intended behavior. It could be configurable, but right now the is no support for popup on top of popups.

#2

Category:feature request» bug report

While an inline popup would be nicer, I was thinking about this: http://www.w3schools.com/JS/tryit.asp?filename=tryjs_confirm .

I may look at this if I get some time.

#3

Category:bug report» feature request

Sorry, I just noticed that I had changed the category back.

#4

Yeah, that is definitely possible. I would accept a patch that does this, as long as it is configurable and defaults to off.
Hint: you'll need to add this feature to the underlying Popups API, not here.

nobody click here