summaryrefslogtreecommitdiffstats
path: root/apps/files_external/js/statusmanager.js
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-10-19 08:41:01 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-10-19 08:41:01 +0200
commitc43e0d6e283773b5c531d55fbd652879849b9f4d (patch)
tree1a9da376cb5218d9d7e2026c00e42b83d3f6d719 /apps/files_external/js/statusmanager.js
parenta1ea504edf529a364be9b66fda5d100d62dcc0b9 (diff)
downloadnextcloud-server-c43e0d6e283773b5c531d55fbd652879849b9f4d.tar.gz
nextcloud-server-c43e0d6e283773b5c531d55fbd652879849b9f4d.zip
Move files_external to compiled handlebars
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_external/js/statusmanager.js')
-rw-r--r--apps/files_external/js/statusmanager.js3
1 files changed, 1 insertions, 2 deletions
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
}),