diff options
author | Joas Schilling <coding@schilljs.com> | 2018-10-19 17:35:13 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-10-30 09:43:26 +0100 |
commit | 9645e545b3a1669e1044acc86b193e3c8ab335b1 (patch) | |
tree | fa597287f3fadb0498828b40884268c5909c825a /apps/files_external/js/oauth1.js | |
parent | 9f9923286545ce700d2f24328d2a73a20e20b4cc (diff) | |
download | nextcloud-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/oauth1.js')
-rw-r--r-- | apps/files_external/js/oauth1.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_external/js/oauth1.js b/apps/files_external/js/oauth1.js index 79248a3e3b2..56e674b213b 100644 --- a/apps/files_external/js/oauth1.js +++ b/apps/files_external/js/oauth1.js @@ -4,7 +4,7 @@ $(document).ready(function() { $tr.find('.configuration input.auth-param').attr('disabled', 'disabled').addClass('disabled-success'); } - OCA.External.Settings.mountConfig.whenSelectAuthMechanism(function($tr, authMechanism, scheme, onCompletion) { + OCA.Files_External.Settings.mountConfig.whenSelectAuthMechanism(function($tr, authMechanism, scheme, onCompletion) { if (authMechanism === 'oauth1::oauth1') { var config = $tr.find('.configuration'); config.append($(document.createElement('input')) @@ -34,7 +34,7 @@ $(document).ready(function() { $(token).val(result.access_token); $(token_secret).val(result.access_token_secret); $(configured).val('true'); - OCA.External.Settings.mountConfig.saveStorageConfig($tr, function(status) { + OCA.Files_External.Settings.mountConfig.saveStorageConfig($tr, function(status) { if (status) { displayGranted($tr); } @@ -64,7 +64,7 @@ $(document).ready(function() { $(configured).val('false'); $(token).val(result.data.request_token); $(token_secret).val(result.data.request_token_secret); - OCA.External.Settings.mountConfig.saveStorageConfig(tr, function() { + OCA.Files_External.Settings.mountConfig.saveStorageConfig(tr, function() { window.location = result.data.url; }); } else { |