summaryrefslogtreecommitdiffstats
path: root/settings/js/admin.js
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-08-21 11:09:01 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-08-21 11:09:01 +0200
commit63a1f9afacbb7f7465eac326d2e17f32baba66f4 (patch)
treefee78abb863bac4360851dc2c75cd7c18403891d /settings/js/admin.js
parent70bce7a54aa6003ed7bab6c4be8966b555a282b5 (diff)
downloadnextcloud-server-63a1f9afacbb7f7465eac326d2e17f32baba66f4.tar.gz
nextcloud-server-63a1f9afacbb7f7465eac326d2e17f32baba66f4.zip
add success message
Diffstat (limited to 'settings/js/admin.js')
-rw-r--r--settings/js/admin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js
index 2f0896c9530..ea9727078e7 100644
--- a/settings/js/admin.js
+++ b/settings/js/admin.js
@@ -179,7 +179,7 @@ $(document).ready(function(){
if (messages.length === 0) {
var securityWarning = $('#security-warning');
if (securityWarning.children('ul').children().length === 0) {
- securityWarning.addClass('hidden');
+ $('#security-warning-state').find('span').removeClass('hidden');
}
} else {
var $errorsEl = $el.find('.errors');