summaryrefslogtreecommitdiffstats
path: root/apps/files_external/js/public_key.js
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-10-19 17:35:13 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-10-30 09:43:26 +0100
commit9645e545b3a1669e1044acc86b193e3c8ab335b1 (patch)
treefa597287f3fadb0498828b40884268c5909c825a /apps/files_external/js/public_key.js
parent9f9923286545ce700d2f24328d2a73a20e20b4cc (diff)
downloadnextcloud-server-9645e545b3a1669e1044acc86b193e3c8ab335b1.tar.gz
nextcloud-server-9645e545b3a1669e1044acc86b193e3c8ab335b1.zip
Fix JS namespace of files_external app
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_external/js/public_key.js')
-rw-r--r--apps/files_external/js/public_key.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/js/public_key.js b/apps/files_external/js/public_key.js
index 6856c7d021f..9b9ca6038c8 100644
--- a/apps/files_external/js/public_key.js
+++ b/apps/files_external/js/public_key.js
@@ -1,6 +1,6 @@
$(document).ready(function() {
- OCA.External.Settings.mountConfig.whenSelectAuthMechanism(function($tr, authMechanism, scheme, onCompletion) {
+ OCA.Files_External.Settings.mountConfig.whenSelectAuthMechanism(function($tr, authMechanism, scheme, onCompletion) {
if (scheme === 'publickey' && authMechanism === 'publickey::rsa') {
var config = $tr.find('.configuration');
if ($(config).find('[name="public_key_generate"]').length === 0) {
@@ -53,7 +53,7 @@ $(document).ready(function() {
if (result && result.status === 'success') {
$(config).find('[data-parameter="public_key"]').val(result.data.public_key).keyup();
$(config).find('[data-parameter="private_key"]').val(result.data.private_key);
- OCA.External.Settings.mountConfig.saveStorageConfig(tr, function() {
+ OCA.Files_External.Settings.mountConfig.saveStorageConfig(tr, function() {
// Nothing to do
});
} else {