]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove arrow function for ie compatibility 12341/head
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Wed, 7 Nov 2018 16:46:55 +0000 (17:46 +0100)
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Wed, 7 Nov 2018 17:29:45 +0000 (18:29 +0100)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
settings/js/settings.js

index 66b8347fdf2f7ee98ebeb08937d7a0f0416a8e7a..2c4f9c4c94fc1f3593f9c700af18570b2b5c9292 100644 (file)
@@ -55,7 +55,9 @@ OC.Settings = _.extend(OC.Settings, {
                                     selection = _.map((groups || []).split('|').sort(), function(groupId) {
                                         return {
                                             id: groupId,
-                                            displayname: results.find(group => group.id === groupId).displayname
+                                            displayname: results.find(function (group) {
+                                                return group.id === groupId;
+                                            }).displayname
                                         };
                                     });
                                 } else if (groups) {