summaryrefslogtreecommitdiffstats
path: root/apps/files_external/js/statusmanager.js
diff options
context:
space:
mode:
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
}),