summaryrefslogtreecommitdiffstats
path: root/core/js/files
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2018-09-03 18:30:42 +0200
committerRobin Appelman <robin@icewind.nl>2018-09-20 17:03:30 +0200
commit91066954a84815d348e584dd7228c5489cd14d53 (patch)
tree00a3f98c659eab4c8a9f074ce4b7dce0e7ea2aa3 /core/js/files
parent6372ae3a98537e8d1b5c5adf4fc446bc0651c2b1 (diff)
downloadnextcloud-server-91066954a84815d348e584dd7228c5489cd14d53.tar.gz
nextcloud-server-91066954a84815d348e584dd7228c5489cd14d53.zip
pass existing data to info parsers
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'core/js/files')
-rw-r--r--core/js/files/client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/files/client.js b/core/js/files/client.js
index 9d3f5c4a3d6..714fcaa647a 100644
--- a/core/js/files/client.js
+++ b/core/js/files/client.js
@@ -390,7 +390,7 @@
// extend the parsed data using the custom parsers
_.each(this._fileInfoParsers, function(parserFunction) {
- _.extend(data, parserFunction(response) || {});
+ _.extend(data, parserFunction(response, data) || {});
});
return new FileInfo(data);