summaryrefslogtreecommitdiffstats
path: root/apps/files_external/js
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-09-05 22:17:33 +0200
committerBart Visscher <bartv@thisnet.nl>2012-09-05 22:26:09 +0200
commit9329af921d6d9bf7861fe9f996562f17beecf6a2 (patch)
tree53ae2f792840e252e6e9b811d9a3a3cb04530db3 /apps/files_external/js
parent9f1c76beef44fb841e6a4137c409ccb941c9236b (diff)
downloadnextcloud-server-9329af921d6d9bf7861fe9f996562f17beecf6a2.tar.gz
nextcloud-server-9329af921d6d9bf7861fe9f996562f17beecf6a2.zip
Add missing ; to js code
Diffstat (limited to 'apps/files_external/js')
-rw-r--r--apps/files_external/js/dropbox.js4
-rw-r--r--apps/files_external/js/settings.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_external/js/dropbox.js b/apps/files_external/js/dropbox.js
index 92194792f42..dd3a1cb1858 100644
--- a/apps/files_external/js/dropbox.js
+++ b/apps/files_external/js/dropbox.js
@@ -10,7 +10,7 @@ $(document).ready(function() {
var app_secret = $(this).find('.configuration [data-parameter="app_secret"]').val();
var config = $(this).find('.configuration');
if (app_key != '' && app_secret != '') {
- var pos = window.location.search.indexOf('oauth_token') + 12
+ var pos = window.location.search.indexOf('oauth_token') + 12;
var token = $(this).find('.configuration [data-parameter="token"]');
if (pos != -1 && window.location.search.substr(pos, $(token).val().length) == $(token).val()) {
var token_secret = $(this).find('.configuration [data-parameter="token_secret"]');
@@ -73,7 +73,7 @@ $(document).ready(function() {
}
});
} else {
- OC.dialogs.alert('Please provide a valid Dropbox app key and secret.', 'Error configuring Dropbox storage')
+ OC.dialogs.alert('Please provide a valid Dropbox app key and secret.', 'Error configuring Dropbox storage');
}
});
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js
index f3460070901..89f346574e2 100644
--- a/apps/files_external/js/settings.js
+++ b/apps/files_external/js/settings.js
@@ -66,7 +66,7 @@ OC.MountConfig={
return true;
}
}
-}
+};
$(document).ready(function() {
$('.chzn-select').chosen();
@@ -179,4 +179,4 @@ $(document).ready(function() {
}
});
-}); \ No newline at end of file
+});