Sha256: f7903f82b8ba0b804bc3e8ae092187d95367069cc3eec776c229c97d53cc1ef4
Contents?: true
Size: 557 Bytes
Versions: 10
Compression:
Stored size: 557 Bytes
Contents
<% @new_tasks.each do |task| %> jQuery('#events_table').prepend('<%=j render(partial: 'queue_dispatcher_views/task_event', locals: {task: task}) %>'); jQuery('#task_<%= task.id %>').effect('highlight'); <% end %> <% @updated_tasks.each do |task| %> jQuery('#task_<%= task.id %>').replaceWith('<%=j render(partial: 'queue_dispatcher_views/task_event', locals: {task: task}) %>'); jQuery('#task_<%= task.id %>').effect('highlight'); <% end %> <% @deleted_task_ids.each do |id| %> jQuery('#task_<%= id %>).fadeOut(); <% end %> <%= update_flash %>
Version data entries
10 entries across 10 versions & 1 rubygems