summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rwxr-xr-xpublic/javascripts/toxcreate.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/public/javascripts/toxcreate.js b/public/javascripts/toxcreate.js
index 8c5a6a8..47fab03 100755
--- a/public/javascripts/toxcreate.js
+++ b/public/javascripts/toxcreate.js
@@ -10,8 +10,8 @@ $(function() {
$("dd#model_" + id + "_warnings").slideUp("slow");
$("a#show_model_" + id + "_warnings").html("show");
}
+ return false;
});
- return false;
};
checkStati = function(stati) {
@@ -89,6 +89,7 @@ jQuery.fn.deleteModel = function(type, options) {
var opts = $.extend(defaults, options);
this.bind(opts.trigger_on, function() {
if(confirm(opts.confirm_message)) {
+ $(opts.elem).fadeTo("slow",0.5);
$.ajax({
type: opts.method,
url: opts.action,