From 91066954a84815d348e584dd7228c5489cd14d53 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 3 Sep 2018 18:30:42 +0200 Subject: [PATCH] pass existing data to info parsers Signed-off-by: Robin Appelman --- core/js/files/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/js/files/client.js b/core/js/files/client.js index 9d3f5c4a3d..714fcaa647 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);