Closed (fixed)
Project:
MySite
Version:
master
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Jul 2007 at 13:56 UTC
Updated:
15 Sep 2007 at 21:51 UTC
I think there should be an option to set weather youd like to confirm the removal of items on mysite.
If set to true a box of some kind should pop up and ask if you are shure, if Yes, remove else Keep.
What do you think?
Comments
Comment #1
agentrickardSeems reasonable but not essential. It's easy to add something back if you delete by mistake.
I would like to see a javaScript confirmation of changes/saves/etc.
I would call that an "advanced javaScript/CSS trick" for the next release.
Filing against HEAD and adding to the roadmap. http://groups.drupal.org/node/4945
Comment #2
agentrickardI am about to commit a small change that prints a "Changes saved" message using jQuery. It's not the full feature, but it is helpful.
To use, change this function in mysite.js:
Then add this line to your Format templates:
Comment #3
agentrickardShould be:
The .= is important.
Comment #4
agentrickardModified a bit and committed to HEAD.
Leaving this task open, because confirmation of removal is separate.
Comment #5
agentrickardI am moving forward on delete confirmation, using the traditional FormsAPI method.
The process is simple:
1) The site admin can choose to enable "confirmation of deletes" for all users.
2) If TRUE, users will be challenged with a web form for confirming their next deletion.
3) At this time, the user can select the option to 'not display this message again', effectively turning off the challenge in future.
The code is just about ready. It will require running update.php, since I added a 'confirm' column to the {mysite} table.
Comment #6
agentrickardWoo. Added to 5.x.2.9.
When installing, you must run update.php!
Comment #7
(not verified) commented