I have a minor issue - if you continue to browse the site by clicking on a submit button the popup continues to appear and is not recognised as acceptance as if you were clicking any other link until you click on a standard link.

Comments

Miszel’s picture

Category: bug » feature

The module was design to work that way. Not sure if people want acceptance by clicking form buttons but I am happy to add such a feature if it is required. I would like to hear more opinions though.

dwigglesworth’s picture

I first noticed this by logging into a site. In this case it seemed obvious that by clicking on the submit button I would also be accepting the use of cookies by the site - because I was actively continuing to use the site after viewing the initial message by logging in.

mrfelton’s picture

Status: Active » Needs review
StatusFileSize
new949 bytes

This is a really trivial change. See attached patch. Note though that this patch will only apply if you first apply the patch from #1697590: Optional confirmation messge. But essentially all you need to do is add input[type=submit] to the selector that the click event binds to.

Miszel’s picture

Status: Needs review » Fixed

Thanks, tested and committed to 6.x-1.x

Miszel’s picture

included in 6.x-1.7 release

Miszel’s picture

Ported to 7.x

Miszel’s picture

Status: Fixed » Closed (fixed)

in 7.x-1.7

  • Commit 4aa9516 on 7.x-1.x, 8.x-1.x, 7.x-2.x by Marcin Pajdzik:
    #1662952 - Form Submit Buttons - Acceptance by continuing browsing the...