aboutsummaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-03-24 12:56:42 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2015-03-24 12:56:42 +0100
commitb262c30fa9780290ecd0411cee2c4da5c24066b2 (patch)
tree68a2837848c59f71a931dca65ab706ba543ddcac /settings/js
parent9cb07f126d027ddc0610fe0fcfd43016bc960ddb (diff)
downloadnextcloud-server-b262c30fa9780290ecd0411cee2c4da5c24066b2.tar.gz
nextcloud-server-b262c30fa9780290ecd0411cee2c4da5c24066b2.zip
Correctly get array of groups and send OCP\IGroup objects to enable method
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/apps.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index bb52aa3a155..86400f7cba3 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -406,7 +406,7 @@ OC.Settings.Apps = OC.Settings.Apps || {
var element = $(this).parent().find('input.enable');
var groups = $(this).val();
if (groups && groups !== '') {
- groups = groups.split(',');
+ groups = groups.split('|');
} else {
groups = [];
}