Move dependency drop target into image

In preparation for #937 and other potential uses of drag&drop
This commit is contained in:
Eric Allen 2010-03-07 16:21:23 -05:00
parent 9591d29e73
commit ec68e04f27
7 changed files with 378 additions and 11 deletions

View file

@ -121,8 +121,10 @@ module TodosHelper
def grip_span
unless @todo.completed?
image_tag('grip.png', :width => '7', :height => '16', :border => '0',
:title => 'Drag onto another action to make it depend on that action',
:class => 'grip')
:title => 'Drag onto another action to make it depend on that action',
:class => 'grip') +
image_tag('blank.png', :width => 16, :height => 16, :border => 0,
:title => "Drop an action to make it depend on this action", :class => 'successor_target')
end
end