mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-27 20:38:48 +01:00
sort after deleting recurring action
This commit is contained in:
parent
e451e2ed5e
commit
164cee695c
1 changed files with 3 additions and 1 deletions
|
|
@ -54,7 +54,9 @@ function show_new_todo_if_todo_was_recurring() {
|
|||
<% if @todo.from_recurring_todo? -%>
|
||||
<% unless @new_recurring_todo.nil? || @new_recurring_todo.deferred? -%>
|
||||
TodoItemsContainer.ensureVisibleWithEffectAppear("<%=item_container_id(@new_recurring_todo)%>");
|
||||
$('#<%=item_container_id(@new_recurring_todo)%>_items').append(html_for_new_recurring_todo());
|
||||
var container = $('#<%=item_container_id(@new_recurring_todo)%>_items');
|
||||
container.append(html_for_new_recurring_todo());
|
||||
TracksPages.sort_container(container);
|
||||
$('#<%= dom_id(@new_recurring_todo, 'line')%>').effect('highlight', {}, 2000 );
|
||||
TracksPages.page_inform("<%=t('todos.recurring_action_deleted')%>");
|
||||
<% else -%>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue