From c9e93b8084e45d6773e57932165739738c075889 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 27 Sep 2018 16:20:57 +0200 Subject: Compile contactmenu handlebars templates Fixes #11029 For https://github.com/orgs/nextcloud/projects/18 Ship the compiled handlebars templates. This makes it possible to have a scricter CSP. Signed-off-by: Roeland Jago Douma --- lib/private/legacy/template.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/private/legacy/template.php b/lib/private/legacy/template.php index 1505089d561..9c7da75e5fd 100644 --- a/lib/private/legacy/template.php +++ b/lib/private/legacy/template.php @@ -124,6 +124,7 @@ class OC_Template extends \OC\Template\Base { OC_Util::addScript('files/fileinfo'); OC_Util::addScript('files/client'); OC_Util::addScript('contactsmenu'); + OC_Util::addScript('contactsmenu_templates'); if (\OC::$server->getConfig()->getSystemValue('debug')) { // Add the stuff we need always -- cgit v1.2.3