Closed (fixed)
Project:
TacJS
Version:
8.x-6.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Dec 2022 at 15:48 UTC
Updated:
4 Dec 2024 at 21:57 UTC
Jump to comment: Most recent
/reports/tacjslog is called every time a page is loaded after having allowed a service.
IMHO it should only called once when the service is allowed.
tarteaucitron-log.js should check for status === "engage" instead of status === "true".
tarteaucitron.pro() is called with =true every-time the service is loaded, but is only called with =engage when the user clicks to allow the service.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
prudloff commentedNote that instead of overriding
tarteaucitron.pro(), it might be cleaner to listen for events triggered bytarteaucitron.sendEvent(key + '_loaded');.Comment #5
mably commentedThanks for the MR 👍
Comment #6
mably commentedFix included in 8.x-6.4-alpha4 release.
Comment #8
mably commented