Commit ca14277f authored by Vincent Petry's avatar Vincent Petry
Browse files

Make a modifiable copy of the webdav properties in JS file list

Plugins can extend _getWebdavProperties to add custom properties.
These should not be added to the original properties list, so now the
FileList makes a copy of the array.
parent d17c2fb8
......@@ -1383,7 +1383,7 @@
* Returns list of webdav properties to request
*/
_getWebdavProperties: function() {
return this.filesClient.getPropfindProperties();
return [].concat(this.filesClient.getPropfindProperties());
},
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment