From d1b35090ab8a6595fbbec24d4a74ec4c6f05f8e8 Mon Sep 17 00:00:00 2001 From: Reinier Balt Date: Tue, 9 Nov 2010 23:12:21 +0100 Subject: [PATCH] get all non-wip scenarios running again for context and project --- app/views/contexts/_context_listing.rhtml | 12 ------ app/views/projects/update.js.erb | 9 ++-- features/project_edit.feature | 4 +- .../step_definitions/context_list_steps.rb | 2 +- features/step_definitions/context_steps.rb | 41 ------------------- .../step_definitions/project_list_steps.rb | 1 + features/step_definitions/project_steps.rb | 38 ++++++++++++++--- 7 files changed, 41 insertions(+), 66 deletions(-) diff --git a/app/views/contexts/_context_listing.rhtml b/app/views/contexts/_context_listing.rhtml index cde76c9a..b98a0f51 100644 --- a/app/views/contexts/_context_listing.rhtml +++ b/app/views/contexts/_context_listing.rhtml @@ -23,18 +23,6 @@ suppress_edit_button ||= false <%= link_to_delete_context(context, image_tag( "blank.png", :title => t('contexts.delete_context'), :class=>"delete_item")) %> <%= suppress_edit_button ? "" : link_to_edit_context(context, image_tag( "blank.png", :title => t('contexts.edit_context'), :class=>"edit_item")) %> - <% # = # link_to_remote( - #image_tag( "blank.png", :title => "Delete context", :class=>"delete_item"), - #:url => {:controller => 'contexts', :action => 'destroy', :id => context.id}, - #:method => 'delete', - #: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}'? Be aware that this will also delete all (repeating) actions in this context!", - #:html => { :id => dom_id(context, 'delete') } - #) - %> -