diff options
author | mguetlein <martin.guetlein@gmail.com> | 2011-07-11 14:02:59 +0200 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2011-07-11 14:02:59 +0200 |
commit | 2e79dc191027651acdda0e63c32da78a9c33148b (patch) | |
tree | 9d7fef2877fa8111597e211670930f15d207fd32 /public | |
parent | a6bc5cd38c6880653fc4f30d1418ca8f664c9379 (diff) |
modify error handling in toxcreate model creation
Diffstat (limited to 'public')
-rwxr-xr-x | public/javascripts/toxcreate.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/toxcreate.js b/public/javascripts/toxcreate.js index d9946c4..1769623 100755 --- a/public/javascripts/toxcreate.js +++ b/public/javascripts/toxcreate.js @@ -50,7 +50,7 @@ $(function() { if( status_before != status_after) { $("span#model_" + id + "_status").html(data); loadModel(id, 'model'); - if (status_after == "Completed") id = -1; + if (status_after == "Completed" || status_after == "Error") id = -1; } }, error: function(data) { |