diff options
author | Joas Schilling <coding@schilljs.com> | 2018-05-04 15:53:39 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-05-04 15:54:54 +0200 |
commit | bd9209b316c496c25c307e836f4262c9b2d983b5 (patch) | |
tree | 4f1b85c7ad8d8bcdf9f24bb460a63b342694b984 /apps/workflowengine | |
parent | fb296342b9f6081c2e6a1f6784b1666ddd474d7d (diff) | |
download | nextcloud-server-bd9209b316c496c25c307e836f4262c9b2d983b5.tar.gz nextcloud-server-bd9209b316c496c25c307e836f4262c9b2d983b5.zip |
Fix "data is undefined" by adjusting the name of the parameter
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/workflowengine')
-rw-r--r-- | apps/workflowengine/js/admin.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/workflowengine/js/admin.js b/apps/workflowengine/js/admin.js index f3e587e0815..bdd86300b70 100644 --- a/apps/workflowengine/js/admin.js +++ b/apps/workflowengine/js/admin.js @@ -167,12 +167,12 @@ url: OC.linkToOCS('cloud/groups', 2) + 'details', dataType: 'json', quietMillis: 100, - }).success(function(response) { + }).success(function(data) { if (data.ocs.data.groups && data.ocs.data.groups.length > 0) { data.ocs.data.groups.forEach(function(group) { self.groups.push({ id: group.id, displayname: group.displayname }); - }) + }); self.render(); } else { @@ -391,4 +391,4 @@ this.collection.each(this.renderOperation, this); } }); -})();
\ No newline at end of file +})(); |