KaufmannDigital.GDPR.CookieConsent
KaufmannDigital.GDPR.CookieConsent copied to clipboard
JS Error in Backend
Problem:
In Neos Backend the object KD_GDPR_CC is not initialized, hence the following check in Initialize.js is throwing an error:
L21: if (KD_GDPR_CC && document.cookie.indexOf(KD_GDPR_CC.cookieName) >= 0) {
The check can be performed in the following way without throwing an error:
L21: if (typeof KD_GDPR_CC !== 'undefined' && KD_GDPR_CC && document.cookie.indexOf(KD_GDPR_CC.cookieName) >= 0) {