Browse code

Add Contao Inserttag support

Benjamin Roth authored on09/06/2015 19:18:49
Showing1 changed files
... ...
@@ -68,7 +68,7 @@ class CookiePolicy extends \Frontend
68 68
 		$objTemplate->commitURL = 'system/modules/eSM_cookiepolicy/ajax/Ajax.php?do=cookiepolicy_authentication&cookiepolicy_commit='.$this->createToken();
69 69
 
70 70
 		// Add dialog code to page
71
-		$GLOBALS['TL_JQUERY'][] = $objTemplate->parse();
71
+		$GLOBALS['TL_JQUERY'][] = $this->replaceInsertTags($objTemplate->parse());
72 72
 	}
73 73
 
74 74
 	/**