summaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2015-03-25 09:34:13 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2015-03-25 09:34:13 +0100
commit04a4df50657aafaef03756474fde34da8bff74a8 (patch)
tree093bf1111cbce761b8efa494d9bce85dd08cd0bd /settings/js
parente188f0e4368ad1b34ecc35fcafa277f0e3946c01 (diff)
downloadnextcloud-server-04a4df50657aafaef03756474fde34da8bff74a8.tar.gz
nextcloud-server-04a4df50657aafaef03756474fde34da8bff74a8.zip
only show connection checks results if there are errors, fix #11476
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/admin.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js
index a3c941f08a4..6ec1a061fc9 100644
--- a/settings/js/admin.js
+++ b/settings/js/admin.js
@@ -140,11 +140,10 @@ $(document).ready(function(){
var $errorsEl;
$el.find('.loading').addClass('hidden');
if (errors.length === 0) {
- $el.find('.success').removeClass('hidden');
} else {
$errorsEl = $el.find('.errors');
for (var i = 0; i < errors.length; i++ ) {
- $errorsEl.append('<li class="setupwarning">' + errors[i] + '</li>');
+ $errorsEl.append('<li>' + errors[i] + '</li>');
}
$errorsEl.removeClass('hidden');
$el.find('.hint').removeClass('hidden');