Sha256: 1250efd5b25fcd038f661ad4f8fd6a3253e797086ca83c11e855ca8f01c2e9da
Contents?: true
Size: 702 Bytes
Versions: 9
Compression:
Stored size: 702 Bytes
Contents
if called_from_index_page? # Completing from pending tasks view -- fade out task partial and update sidebar. page[dom_id(@task, :tools)].hide page[dom_id(@task)].visual_effect :fade, :duration => 0.5 if @empty_bucket page["list_#{@empty_bucket}"].visual_effect :fade, :duration => 0.5 end page << refresh_sidebar(:index, :filters) else # Completing from the Asset page -- replace task partial with completed one. page[dom_id(@task)].hide page[dom_id(@task)].replace_html :partial => "tasks/completed", :collection => [ @task ], :locals => { :bucket => nil } page[dom_id(@task)].visual_effect :appear, :duration => 0.5 page[:recently].replace :partial => "shared/recently" end
Version data entries
9 entries across 9 versions & 1 rubygems