summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-06-16 11:33:51 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-06-16 11:33:51 +0200
commit78b6f595232096a514f7f40281d53ec7aabc772a (patch)
tree750f8b7cd910164d28721ac38d4a09d14184adcc /apps
parent86e1d8ca54e9cbc3c33621f15abcf22fc3dcbec9 (diff)
downloadnextcloud-server-78b6f595232096a514f7f40281d53ec7aabc772a.tar.gz
nextcloud-server-78b6f595232096a514f7f40281d53ec7aabc772a.zip
fix typo - Backups -> Backends
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/css/settings.css2
-rw-r--r--apps/files_external/js/settings.js4
-rw-r--r--apps/files_external/templates/settings.php2
3 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_external/css/settings.css b/apps/files_external/css/settings.css
index ea0b70ea596..758c52ae852 100644
--- a/apps/files_external/css/settings.css
+++ b/apps/files_external/css/settings.css
@@ -26,6 +26,6 @@ tr:hover>td.remove>img { visibility:visible; cursor:pointer; }
border-radius: 50%;
}
-#userMountingBackups {
+#userMountingBackends {
padding-left: 25px;
}
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js
index 29081772d68..e5cb373a5b7 100644
--- a/apps/files_external/js/settings.js
+++ b/apps/files_external/js/settings.js
@@ -311,11 +311,11 @@ $(document).ready(function() {
if (this.checked) {
OC.AppConfig.setValue('files_external', 'allow_user_mounting', 'yes');
$('input[name="allowUserMountingBackends\\[\\]"]').prop('checked', true);
- $('#userMountingBackups').removeClass('hidden');
+ $('#userMountingBackends').removeClass('hidden');
$($('input[name="allowUserMountingBackends\\[\\]"]')[0]).trigger('change');
} else {
OC.AppConfig.setValue('files_external', 'allow_user_mounting', 'no');
- $('#userMountingBackups').addClass('hidden');
+ $('#userMountingBackends').addClass('hidden');
}
OC.msg.finishedSaving('#userMountingMsg', {status: 'success', data: {message: t('settings', 'Saved')}});
});
diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php
index df80ed10993..98fcf4a0ed4 100644
--- a/apps/files_external/templates/settings.php
+++ b/apps/files_external/templates/settings.php
@@ -131,7 +131,7 @@
value="1" <?php if ($_['allowUserMounting'] == 'yes') print_unescaped(' checked="checked"'); ?> />
<label for="allowUserMounting"><?php p($l->t('Enable User External Storage')); ?></label> <span id="userMountingMsg" class="msg"></span>
- <p id="userMountingBackups"<?php if ($_['allowUserMounting'] != 'yes'): ?> class="hidden"<?php endif; ?>>
+ <p id="userMountingBackends"<?php if ($_['allowUserMounting'] != 'yes'): ?> class="hidden"<?php endif; ?>>
<?php p($l->t('Allow users to mount the following external storage')); ?><br />
<?php $i = 0; foreach ($_['personal_backends'] as $class => $backend): ?>
<input type="checkbox" id="allowUserMountingBackends<?php p($i); ?>" name="allowUserMountingBackends[]" value="<?php p($class); ?>" <?php if ($backend['enabled']) print_unescaped(' checked="checked"'); ?> />