diff options
author | mr <mr@mrautenberg.de> | 2011-01-24 17:39:22 +0100 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2011-01-24 17:39:22 +0100 |
commit | 2ce114bae009a8d7ae7fa952b20f0c5fa8e7ef6d (patch) | |
tree | d319630279d59ee13dffccbc35c05997cd59a8f8 /public/javascripts/toxcreate.js | |
parent | 5f19f4776bb72d5d15471ecdea19d045fe157702 (diff) |
finetuning js and predition page
Diffstat (limited to 'public/javascripts/toxcreate.js')
-rwxr-xr-x | public/javascripts/toxcreate.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/public/javascripts/toxcreate.js b/public/javascripts/toxcreate.js index 54ab19f..aef0455 100755 --- a/public/javascripts/toxcreate.js +++ b/public/javascripts/toxcreate.js @@ -41,7 +41,8 @@ $(function() { }, success: function(data) { var status_before = ""; - if ($("span#model_" + id + "_status") !== null) status_before = $("span#model_" + id + "_status").html().trim(); + if ($("span#model_" + id + "_status") != null) status_before = $("span#model_" + id + "_status").html().trim(); + if (status_before == "Deleting") return -1; var status_after = data.trim(); $("span#model_" + id + "_status").animate({"opacity": "0.2"},1000); $("span#model_" + id + "_status").animate({"opacity": "1"},1000); |