mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-15 03:38:08 +01:00
parent
05cbea50aa
commit
67df223488
5 changed files with 45 additions and 5 deletions
|
|
@ -122,7 +122,7 @@ module TodosHelper
|
|||
: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')
|
||||
:title => "Drop an action to make it depend on this action", :class => 'successor_target drop_target')
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -16,4 +16,5 @@
|
|||
</div>
|
||||
<%= render :partial => "todos/todo", :collection => @not_done, :locals => { :parent_container_type => "context" } %>
|
||||
</div><!-- [end:items] -->
|
||||
<div id="c_<%=context.id%>_target" class="context_target drop_target"></div>
|
||||
</div><!-- [end:c<%= context.id %>] -->
|
||||
|
|
|
|||
|
|
@ -153,3 +153,5 @@ else
|
|||
page.show 'error_status'
|
||||
page.replace_html 'error_status', "#{error_messages_for('todo')}"
|
||||
end
|
||||
|
||||
page << "enable_rich_interaction();"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue