diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-13 10:44:53 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-08-13 17:10:58 -0400 |
commit | 0e6d22e25f19f6b6b7d717d65066ad33ae5cb4f3 (patch) | |
tree | ba97779132e5ddd4e7869084da6336d92cb8db33 /apps/files_external/js | |
parent | b6b2f8826bf4591142644e571571df0f226c3cc1 (diff) | |
download | nextcloud-server-0e6d22e25f19f6b6b7d717d65066ad33ae5cb4f3.tar.gz nextcloud-server-0e6d22e25f19f6b6b7d717d65066ad33ae5cb4f3.zip |
Prevent editing Dropbox configuration input after access granted
Diffstat (limited to 'apps/files_external/js')
-rw-r--r-- | apps/files_external/js/dropbox.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_external/js/dropbox.js b/apps/files_external/js/dropbox.js index 770a9a1fa69..6fc362fb086 100644 --- a/apps/files_external/js/dropbox.js +++ b/apps/files_external/js/dropbox.js @@ -22,6 +22,7 @@ $(document).ready(function() { } }); } else if ($(this).find('.configuration #granted').length == 0) { + $(this).find('.configuration input').attr('disabled', 'disabled'); $(this).find('.configuration').append('<span id="granted">Access granted</span>'); } } |