Add warning that deleting a context will also delete all actions within it. Fixes #1049. Thanks edgimar for reporting this.

This commit is contained in:
Reinier Balt 2010-07-26 21:36:48 +02:00
parent 157595be50
commit ceb4529a7c

View file

@ -26,7 +26,7 @@
:with => "'_source_view=#{@source_view}'",
:before => "$('#{dom_id(context)}').block({message:null});",
:complete => "$('#{dom_id(context)}').unblock();",
:confirm => "Are you sure that you want to delete the context '#{context.name}'?",
:confirm => "Are you sure that you want to delete the context '#{context.name}'? Be aware that this will also delete all actions in this context!",
:html => { :id => dom_id(context, 'delete') }
) %>
<%= link_to_remote(