summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authormr <mr@mrautenberg.de>2010-05-18 23:17:52 +0200
committermr <mr@mrautenberg.de>2010-05-18 23:17:52 +0200
commit0e488afddfa563f3057b053958b2109be7a9bb90 (patch)
tree9ef68f47197465eaec62d83d57b6e9ddb3d31747 /public
parent06915588b710fdb5317acd01c223fba359fa52ab (diff)
javascript delete with predelete reduce of opacity, toggle warnings do not jump to top of page
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,