diff --git a/src/Resources/contao/util/AeoFrontendUtil.php b/src/Resources/contao/util/AeoFrontendUtil.php index b880982..dfaa265 100644 --- a/src/Resources/contao/util/AeoFrontendUtil.php +++ b/src/Resources/contao/util/AeoFrontendUtil.php @@ -236,8 +236,8 @@ class AeoFrontendUtil extends \Frontend { ->execute($objPage2->layout) ->fetchAssoc(); - $GLOBALS['TL_JAVASCRIPT'][] = 'system/modules/zaeo/public/js/onReadyAeo.min.js|static'; - $GLOBALS['TL_JAVASCRIPT'][] = 'system/modules/zaeo/public/js/aeo.min.js|static'; + $GLOBALS['TL_JAVASCRIPT'][] = 'bundles/cgoitaeo/js/onReadyAeo.min.js|static'; + $GLOBALS['TL_JAVASCRIPT'][] = 'bundles/cgoitaeo/js/aeo.min.js|static'; } /** @@ -494,8 +494,6 @@ class Aeo extends \System { $this->import('aeo\\AeoJavaScript', 'AeoJavaScript'); $strContentJs = $this->AeoJavaScript->getContent(str_replace("/", "\/", $this->folder), $this->rot13); $strContentJs = "\n\n"; -// $strContentJs .= ""; -// $strContentJs .= ""; return $strContentJs; }