Index: comment.js
===================================================================
RCS file: comment.js
diff -N comment.js
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ comment.js	6 Feb 2007 22:09:14 -0000
@@ -0,0 +1,16 @@
+// vim: cindent
+// $Id$
+
+$(document).ready(function() {
+  $('a.comment_delete').click(commentEditHandler);
+});
+
+function commentEditHandler(e)
+{
+  if (confirm('Delete this comment?')) {
+    $.post(this + '/ajax', null, function (result) {
+      eval(result);
+    });
+  }
+  return false;
+}
Index: comment.module
===================================================================
RCS file: /home/repos/drupal/drupal/modules/comment/comment.module,v
retrieving revision 1.5
diff -b -d -u -r1.5 comment.module
--- comment.module	4 Feb 2007 20:48:32 -0000	1.5
+++ comment.module	6 Feb 2007 22:09:14 -0000
@@ -833,6 +833,7 @@
 
   if (node_comment_mode($comment->nid) == COMMENT_NODE_READ_WRITE) {
     if (user_access('administer comments') && user_access('post comments')) {
+      drupal_add_js(drupal_get_path('module', 'comment') .'/comment.js');
       $links['comment_delete'] = array(
         'title' => t('delete'),
         'href' => "comment/delete/$comment->cid"
@@ -1074,6 +1075,12 @@
   $comment->name = $comment->uid ? $comment->registered_name : $comment->name;
 
   $output = '';
+
+  if (arg(3) == 'ajax') {
+    _comment_delete_thread($comment);
+    print '$(\'#comment-block-'.$cid.'\').hide(\'slow\');';
+    exit();
+  }
 
   // We'll only delete if the user has confirmed the
   // deletion using the form in our else clause below.
