summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authormguetlein <martin.guetlein@gmail.com>2011-07-11 14:02:59 +0200
committermguetlein <martin.guetlein@gmail.com>2011-07-11 14:02:59 +0200
commit2e79dc191027651acdda0e63c32da78a9c33148b (patch)
tree9d7fef2877fa8111597e211670930f15d207fd32 /public
parenta6bc5cd38c6880653fc4f30d1418ca8f664c9379 (diff)
modify error handling in toxcreate model creation
Diffstat (limited to 'public')
-rwxr-xr-xpublic/javascripts/toxcreate.js2
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) {