From b262c30fa9780290ecd0411cee2c4da5c24066b2 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 24 Mar 2015 12:56:42 +0100 Subject: Correctly get array of groups and send OCP\IGroup objects to enable method --- settings/js/apps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'settings/js') 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 = []; } -- cgit v1.2.3