diff options
author | Robin McCorkell <rmccorkell@owncloud.com> | 2016-02-08 15:55:09 +0000 |
---|---|---|
committer | Robin McCorkell <robin@mccorkell.me.uk> | 2016-05-03 11:30:02 +0100 |
commit | 43abe2b64855d5acbde4ce4c58a4f543371bb001 (patch) | |
tree | f1ed1713ad114ff870ea4f0f1388ec66c5af98f6 /apps/files_external/js/oauth2.js | |
parent | de98a6e54cd2d732e0b7c1297e8da43e53bb97c7 (diff) | |
download | nextcloud-server-43abe2b64855d5acbde4ce4c58a4f543371bb001.tar.gz nextcloud-server-43abe2b64855d5acbde4ce4c58a4f543371bb001.zip |
Add links to load GDrive/Dropbox configuration pages
Diffstat (limited to 'apps/files_external/js/oauth2.js')
-rw-r--r-- | apps/files_external/js/oauth2.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/js/oauth2.js b/apps/files_external/js/oauth2.js index 2556bf45cae..64be9b1ed93 100644 --- a/apps/files_external/js/oauth2.js +++ b/apps/files_external/js/oauth2.js @@ -13,7 +13,7 @@ $(document).ready(function() { onCompletion.then(function() { var configured = $tr.find('[data-parameter="configured"]'); if ($(configured).val() == 'true') { - $tr.find('.configuration input').attr('disabled', 'disabled'); + $tr.find('.configuration input.auth-param').attr('disabled', 'disabled'); $tr.find('.configuration').append($('<span/>').attr('id', 'access') .text(t('files_external', 'Access granted'))); } else { @@ -43,7 +43,7 @@ $(document).ready(function() { $(configured).val('true'); OCA.External.Settings.mountConfig.saveStorageConfig($tr, function(status) { if (status) { - $tr.find('.configuration input').attr('disabled', 'disabled'); + $tr.find('.configuration input.auth-param').attr('disabled', 'disabled'); $tr.find('.configuration').append($('<span/>') .attr('id', 'access') .text(t('files_external', 'Access granted'))); |