That happens because adding this link is performed not in form_alter function. So I've moved it, please review and test patch.

CommentFileSizeAuthor
ajax_comments_validation.patch1.36 KBGeorgique
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

muschpusch’s picture

Status: Needs review » Needs work

When applying this patch the cancel button is always visible...

formatC'vt’s picture

Issue summary: View changes
Status: Needs work » Fixed

Try latest dev, please

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.