summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rwxr-xr-xpublic/javascripts/toxcreate.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/javascripts/toxcreate.js b/public/javascripts/toxcreate.js
index f2523b3..6185b93 100755
--- a/public/javascripts/toxcreate.js
+++ b/public/javascripts/toxcreate.js
@@ -108,6 +108,7 @@ jQuery.fn.deleteModel = function(type, options) {
},
success: function(data) {
$(opts.elem).fadeTo("slow",0).slideUp("slow");
+ $(opts.elem).remove();
},
error: function(data) {
//alert("model delete error!");