From 9c15af33e3e585681154b0f34507c3ed0ee9a2b1 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 1 Feb 2006 17:16:20 +0000 Subject: * Do not allow buttons to break * After registering a action from ajax, shake the button so user can see more feedback. useful when you tag 10+ messages at once. --- packages/spamd_db.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/spamd_db.php b/packages/spamd_db.php index 076b9d97..7d13d07f 100644 --- a/packages/spamd_db.php +++ b/packages/spamd_db.php @@ -107,6 +107,7 @@ function toggle_off(button) { var currentbutton = item.src; currentbutton = currentbutton.replace("_p.", "."); item.src = currentbutton; + new Effect.Shake(item); } /* delete a row */ function delete_row_db(row) { @@ -230,11 +231,11 @@ if (typeof getURL == 'undefined') { $rowtext .= ""; $srcip = $pkgdb_split[1]; $lastrow = $rows - 1; - $rowtext .= "\"Add "; + $rowtext .= "\"Add "; $rowtext .= "\"Blacklist\" "; $rowtext .= "\"Delete\""; $rowtext .= "\"Spamtrap\" "; - $rowtext .= ""; + $rowtext .= ""; $rowtext .= ""; if($srcip == "") $dontdisplay = true; -- cgit v1.2.3