From ceb4529a7c6837ff47000d6d765ad1fed990b4b1 Mon Sep 17 00:00:00 2001 From: Reinier Balt Date: Mon, 26 Jul 2010 21:36:48 +0200 Subject: [PATCH] Add warning that deleting a context will also delete all actions within it. Fixes #1049. Thanks edgimar for reporting this. --- app/views/contexts/_context_listing.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/contexts/_context_listing.rhtml b/app/views/contexts/_context_listing.rhtml index df90a138..f4c8ce5c 100644 --- a/app/views/contexts/_context_listing.rhtml +++ b/app/views/contexts/_context_listing.rhtml @@ -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(