Add a view to confirm issue deletion
When attempting to navigate our redmine today, I accidentally deleted an issue by using the middle button in Firefox (I was trying to open an issue in a new tab, the default behaviour for middle-click).
What actually happened was the context menu came up, and my 2nd middle click went to the delete button, which does not show the confirmation dialogue, deleted my issue in a new tab.
Running: Redmine 0.7.devel (MySQL)
#1 Updated by Jean-Philippe Lang about 12 years ago
- Status changed from New to Closed
- Resolution set to Invalid
I'm not able to reproduce.
I've re-checked, the delete link of the context menu shows the confirmation dialog box before deleting the issue.
You can also see it in the view: source:/trunk/app/views/issues/context_menu.rhtml@2460#L92
Maybe you accidentally clicked on 'Yes' too :-)
#2 Updated by Drarok Ithaqua about 12 years ago
- Status changed from Closed to Reopened
I've just upgraded to svn-HEAD (and erased all my data with rake db:migrate while I was at it, but that's not a fault you can fix...), and can still reproduce this behaviour. THe problem is that the assumption is made as such:
This is not a safe assumption.
/issues/destroy?ids=19 is opened in a background tabs and erases with no confirmation.