summaryrefslogtreecommitdiffstats
path: root/apps/files_external/js
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-09-12 21:29:55 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-09-12 21:30:04 -0400
commitf8d907df71d62627a9e5ee764593d7b27803d33a (patch)
treeeefcece523f107310795adbfe0d3b2d8ce6e1a7a /apps/files_external/js
parentbb0b438ace9ae51b5aec64dd1a1a4868f2f1d4b5 (diff)
downloadnextcloud-server-f8d907df71d62627a9e5ee764593d7b27803d33a.tar.gz
nextcloud-server-f8d907df71d62627a9e5ee764593d7b27803d33a.zip
Set configured to true after configuring Dropbox storage
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 dd3a1cb1858..6082fdd2cb7 100644
--- a/apps/files_external/js/dropbox.js
+++ b/apps/files_external/js/dropbox.js
@@ -19,6 +19,7 @@ $(document).ready(function() {
if (result && result.status == 'success') {
$(token).val(result.access_token);
$(token_secret).val(result.access_token_secret);
+ $(configured).val('true');
OC.MountConfig.saveStorage(tr);
$(tr).find('.configuration input').attr('disabled', 'disabled');
$(tr).find('.configuration').append('<span id="access" style="padding-left:0.5em;">Access granted</span>');