From 69fd5215ea35842fa8c8d8d9e8a767eae2f2c577 Mon Sep 17 00:00:00 2001 From: mr Date: Wed, 17 Aug 2011 14:40:11 +0200 Subject: remove delete link when deleting --- public/javascripts/toxcreate.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/javascripts/toxcreate.js b/public/javascripts/toxcreate.js index 91789f8..ee783ce 100755 --- a/public/javascripts/toxcreate.js +++ b/public/javascripts/toxcreate.js @@ -207,6 +207,7 @@ jQuery.fn.deleteModel = function(type, options) { if(confirm(opts.confirm_message)) { $("div#model_" + opts.id).fadeTo("slow",0.5); $("span#model_" + opts.id + "_status").html("Deleting"); + $("a#delete_" + opts.id).html(""); $.ajax({ type: opts.method, url: opts.action, -- cgit v1.2.3