summaryrefslogtreecommitdiffstats
path: root/apps/files_external/js
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@karoshi.org.uk>2014-03-24 13:27:46 +0000
committerRobin McCorkell <rmccorkell@karoshi.org.uk>2014-03-24 13:27:46 +0000
commit690c31ec20cc15129576fe64140d8733f9daf640 (patch)
treea7accd97d687a5983197ed2af5efe34a281407d7 /apps/files_external/js
parentc4e7d7989a94ec974842120544a9510a56d70319 (diff)
downloadnextcloud-server-690c31ec20cc15129576fe64140d8733f9daf640.tar.gz
nextcloud-server-690c31ec20cc15129576fe64140d8733f9daf640.zip
Insert missing brace
Diffstat (limited to 'apps/files_external/js')
-rw-r--r--apps/files_external/js/settings.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js
index 0fceb41c0af..00793a614c2 100644
--- a/apps/files_external/js/settings.js
+++ b/apps/files_external/js/settings.js
@@ -189,11 +189,11 @@ $(document).ready(function() {
if (placeholder.indexOf('*') === 0) {
var class_string = is_optional ? ' class="optional"' : '';
td.append('<input type="password"' + class_string + ' data-parameter="'+parameter+'" placeholder="'+placeholder.substring(1)+'" />');
- else if (placeholder.indexOf('!') === 0) {
+ } else if (placeholder.indexOf('!') === 0) {
td.append('<label><input type="checkbox" data-parameter="'+parameter+'" />'+placeholder.substring(1)+'</label>');
- else if (placeholder.indexOf('#') === 0) {
+ } else if (placeholder.indexOf('#') === 0) {
td.append('<input type="hidden" data-parameter="'+parameter+'" />');
- else {
+ } else {
var class_string = is_optional ? ' class="optional"' : '';
td.append('<input type="text"' + class_string + ' data-parameter="'+parameter+'" placeholder="'+placeholder+'" />');
}