Sha256: 6b1e457e90ade2b9464f333a547ca9b84d6bc5ce0e7b0e3d0aba18d789a16e3b

Contents?: true

Size: 890 Bytes

Versions: 1

Compression:

Stored size: 890 Bytes

Contents

page.replace_html :notice, @message
page.visual_effect(:appear, :notice)

page.visual_effect :fade, "task_#{@task.id}"
page.remove "task_#{@task.id}"

if @last_active_in_backlog
  page.select('#active_tasks tr').first.remove
  page.select('#active_tasks tr').first.remove
end

if @last_active
  page.visual_effect :appear, "no_tasks_message"
end

unless @first_finished
  page.select('#completed_tasks tr').first.remove
end

page.insert_html :top, :completed_tasks, :partial => '/tasks/task', :locals => {:active => false, :hidden => true, :highlight_task => false}
page.visual_effect :appear, "task_#{@task.id}"

page.insert_html :top, :completed_tasks, :partial => '/tasks/fields_header', :locals => {:backlog => @task.backlog, :active => false}

page['burn_down_chart'].src = url_for(:controller => 'periods', :action => :burn_down_chart_thumbnail, :id => @task.period_id, :rnd => rand)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
backlog-0.12.0 app/views/tasks/finish_ajax.rjs