Permalink
Browse files

Improved handling of finished runs

  • Loading branch information...
1 parent 9dbf510 commit 0d2562f4fb4bf7426f245ee97cbd82783814d3cf alaninmcr committed May 8, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −1 taverna_server_demo.rb
  2. +2 −1 views/run.haml
@@ -300,7 +300,7 @@ def get_interaction(run)
haml :run, :locals => {:title => "Run " + run.identifier, :run => run,
:interaction_id => interaction_id, :interaction_uri => interaction_uri,
:workflow_name => get_run_workflow_name(run),
- :refresh => true}
+ :refresh => !run.finished?}
end
get '/run/:runid/delete' do
View
@@ -42,4 +42,5 @@
- unless interaction_uri.nil?
%iframe{ :width => "100%", :height => "800", :scrolling => "auto", :src => "#{interaction_uri}" }
- else
- = 'Please wait...'
+ - if (!run.finished?) then
+ = 'Please wait...'

0 comments on commit 0d2562f

Please sign in to comment.