Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Function when "delete" comment

edited April 2008 in Vanilla 1.0 Help
Hi, I'm developing a function that I want to be executed each time that the "delete" link is clicked, but I don't know where to attach it. any idea? thx!

Comments

  • Options
    Are you talking about the show/hide comment button or the real delete comment from the CommentRemoval addon?
  • Options
    i'm talking about the show/hide role-based functionality but in the link says "delete" :P not the addon.
  • Options
    Then you will probably have to edit the comments.php file (copy the file and put it in your theme folder) and add an onclick to that tag and then create a js function to do what you want.
  • Options
    ok, thanks for the suggestion! I'll comment about the success, if I get any (I hope)
This discussion has been closed.