mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01:00
sort when deleting a dependency in the tree
This commit is contained in:
parent
d5b695d733
commit
5c3c2f80b7
1 changed files with 3 additions and 1 deletions
|
|
@ -33,7 +33,9 @@ function update_successor() {
|
|||
$('#c<%= @successor.context_id %>').fadeIn(500, function() {});
|
||||
$('#no_todos_in_view').slideUp(100);
|
||||
<% end -%>
|
||||
$('#<%=item_container_id(@successor)%>_items').append(html_for_new_successor());
|
||||
var container = $('#<%=item_container_id(@successor)%>_items');
|
||||
container.append(html_for_new_successor());
|
||||
TracksPages.sort_container(container);
|
||||
$('#<%= dom_id(@successor, 'line')%>').effect('highlight', {}, 2000 ); <%
|
||||
elsif @successor.deferred? -%>
|
||||
$('#<%= dom_id(@successor)%>').html(html_for_new_successor()); <%
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue