diff --git a/app/assets/javascripts/projects/show.js b/app/assets/javascripts/projects/show.js index 06d913688..52268a69b 100644 --- a/app/assets/javascripts/projects/show.js +++ b/app/assets/javascripts/projects/show.js @@ -4,7 +4,6 @@ function init(){ $("[data-id]").each(function(){ var that = $(this); - that.find(".workflowimg-container").hide(); initProjectExperiment(that); }); @@ -36,7 +35,9 @@ }, error: function (ev) { if (ev.status == 404) { - setTimeout(checkUpdatedImg(img_url, url, timestamp, container), 500); + setTimeout(function () { + checkUpdatedImg(img_url, url, timestamp, container) + }, 5000); } else { animateSpinner(container, false); } diff --git a/app/views/projects/show/_experiment.html.erb b/app/views/projects/show/_experiment.html.erb index 51d64c2e9..aa4ed3551 100644 --- a/app/views/projects/show/_experiment.html.erb +++ b/app/views/projects/show/_experiment.html.erb @@ -22,7 +22,7 @@
- <% if experiment.workflowimg? && experiment.active_modules.length > 0 %> + <% if experiment.active_modules.length > 0 %>