Active
Project:
Simple Cookie Compliance
Version:
7.x-1.5
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 May 2018 at 13:08 UTC
Updated:
8 May 2018 at 13:08 UTC
Jump to comment: Most recent
I'm pretty sure this isn't 'just me'...but Firefox gives me an AJAX error when the submit button is clicked:

I tracked this back to the AJAX submit function: simple_cookie_compliance_dismiss_form_submit() where it returns:
// The ajax call wants something to replace HTML-element with. Since we in
// this case want to remove it, we replace it with nothing.
return '';
I fixed it by simply returning a hidden span instead like: return '<span class="element-hidden"></span>'; and my error went away (and everything was hidden in the result as expected.
Can anyone else verify this problem?
| Comment | File | Size | Author |
|---|---|---|---|
| ajaxerror.png | 36.64 KB | Rob_Feature |
Comments