You are here

function better_comments_reply_cancel in Better Comments 7.2

Same name and namespace in other branches
  1. 7 better_comments.module \better_comments_reply_cancel()

Cancel the replay comment form.

1 string reference to 'better_comments_reply_cancel'
better_comments_menu in ./better_comments.module
Implements hook_menu().

File

./better_comments.module, line 258
Better Comments provides option to configure the comment system.

Code

function better_comments_reply_cancel($cid) {
  $commands[] = ajax_command_remove('#comment-wrap-' . $cid . '>.indented-' . $cid);
  return array(
    '#type' => 'ajax',
    '#commands' => $commands,
  );
}