summaryrefslogtreecommitdiffstats
path: root/apps/files_external/js
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-08-13 10:44:53 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-08-13 17:10:58 -0400
commit0e6d22e25f19f6b6b7d717d65066ad33ae5cb4f3 (patch)
treeba97779132e5ddd4e7869084da6336d92cb8db33 /apps/files_external/js
parentb6b2f8826bf4591142644e571571df0f226c3cc1 (diff)
downloadnextcloud-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.js1
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>');
}
}