aboutsummaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-10-19 10:38:18 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-10-21 21:10:48 +0200
commitf3d9961150e10a17addb632f6c10366747df62f6 (patch)
treed2bfb05b38c3f94170dda904f94de89661429676 /settings/js
parent69f0f17f32d6e50d75e2e004a5b85db42f0de6e8 (diff)
downloadnextcloud-server-f3d9961150e10a17addb632f6c10366747df62f6.tar.gz
nextcloud-server-f3d9961150e10a17addb632f6c10366747df62f6.zip
Fix editing form visibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/users/groups.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/users/groups.js b/settings/js/users/groups.js
index 4037ab4b893..c8554c78712 100644
--- a/settings/js/users/groups.js
+++ b/settings/js/users/groups.js
@@ -227,7 +227,7 @@ GroupList = {
},
isAddGroupButtonVisible: function () {
- return $('#newgroup-init').is(":visible");
+ return !$('#newgroup-entry').hasClass('editing');
},
toggleAddGroup: function (event) {