summaryrefslogtreecommitdiff
path: root/application.rb
diff options
context:
space:
mode:
authormr <mr@mrautenberg.de>2011-03-14 17:07:09 +0100
committermr <mr@mrautenberg.de>2011-03-14 17:07:09 +0100
commit37b3ecfa4bb27b2eb9ffe8efa7bf8a4d32cf1dca (patch)
tree8b360f785aeccbea3df8ced8bbc4742b99074d80 /application.rb
parent4524aab585f88156058b6335c6e52f53947327c4 (diff)
fix progress bar
Diffstat (limited to 'application.rb')
-rw-r--r--application.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/application.rb b/application.rb
index f6e03cc..1ab6576 100644
--- a/application.rb
+++ b/application.rb
@@ -192,7 +192,7 @@ post '/models' do # create a new model
task = OpenTox::Task.create("Uploading dataset and creating lazar model",url_for("/models",:full)) do |task|
task.progress(5)
- @model.update :status => "Uploading and saving dataset"
+ @model.update :task_uri => task.uri, :status => "Uploading and saving dataset"
begin
@dataset = OpenTox::Dataset.create(nil, subjectid)
# check format by extension - not all browsers provide correct content-type])