summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorrautenberg <rautenberg@in-silico.ch>2012-02-29 16:39:00 +0100
committerrautenberg <rautenberg@in-silico.ch>2012-02-29 16:39:00 +0100
commit41fe86a25edec72ce6ca25bf6a8b61ec132f75d5 (patch)
tree666309e986d261230c4307efc62986f7f03b174c /public
parentc7560b84e765db071353449dafce7ebd6760de4b (diff)
ajax deleteing async. cancel task via api wrapper. indents
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 ef2a953..7f8d9ea 100755
--- a/public/javascripts/toxcreate.js
+++ b/public/javascripts/toxcreate.js
@@ -211,6 +211,7 @@ jQuery.fn.deleteModel = function(type, options) {
type: opts.method,
url: opts.action,
dataType: 'html',
+ async: true,
data: {
'_method': 'delete'
},