I added some functionality to the basic admin_comments page we worked on Friday.

Added to this version:

  • only shows posts that have comments
  • message tells the user if there are no posts with comments
  • javascript alert to warn the user of permanent action
  • feedback message letting the user know how many comments were deleted
  • validated the form – removed error when no boxes are checked