// ########## COMMENT DELETE ##########

function commentDelete(mess,id,modId) {
  if(confirm(mess))
  {
    var node = document.getElementById('comment_'+id);
    var parent = node.parentNode;
    parent.removeChild(node);
    
    new Ajax.Request(
      path_post+'feedback/comment_delete.html',
      {
        method:'post',
        postBody:'comments_id='+id+'&modules_id='+modId
      }
    );
  }
}
