OK I solved, here’s the correct version that I put in footer.tpl of my theme.
<script type=”text/javascript”>
jQuery(document).on(“setCookieNotice”, myFunction);
function myFunction() {
location.reload();
}
</script>
However I put the following code in header.tpl, but it doesn’t work:
<script type=”text/javascript”>
$(document).on(“setCookieNotice”, myFunction);
function myFunction(e) {
location.reload();
}
</script>
Probably the not existing page was opening because of the specific flash file.
By the way the click on flash files are still not counted with IE browsers family.
Anyone found a solution? Giovanni, please help us!
Thank you in advance for your answers.