Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-6940

JS error when DoNotTrack is enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 3.8, 4.0M5
    • 3.8
    • None
    • None

      When the "do not track" browser feature is enabled, there is a JS error on my pages: Uncaught ReferenceError: refuseCookie is not defined

      It seems to come from the following code block (the function is named "ametysRefuseCookieConsent").

      if (notToTrack()) 
      { 
          refuseCookie();
      }
      

            Unassigned Unassigned
            ngavalda Nicolas Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: