From c43e0d6e283773b5c531d55fbd652879849b9f4d Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Fri, 19 Oct 2018 08:41:01 +0200 Subject: Move files_external to compiled handlebars Signed-off-by: Roeland Jago Douma --- apps/files_external/js/statusmanager.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps/files_external/js/statusmanager.js') diff --git a/apps/files_external/js/statusmanager.js b/apps/files_external/js/statusmanager.js index a65988353af..b8b5e1a9364 100644 --- a/apps/files_external/js/statusmanager.js +++ b/apps/files_external/js/statusmanager.js @@ -392,8 +392,7 @@ OCA.External.StatusManager = { * @param mountData */ showCredentialsDialog: function (mountPoint, mountData) { - var template = Handlebars.compile(OCA.External.StatusManager.credentialsDialogTemplate); - var dialog = $(template({ + var dialog = $(OCA.External.Templates.credentialsDialog({ credentials_text: t('files_external', 'Please enter the credentials for the {mount} mount', { 'mount': mountPoint }), -- cgit v1.2.3