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.
remotes/origin/appinfo-object
Vincent Petry 2015-12-22 11:17:24 +07:00
parent d17c2fb8d9
commit ca14277fca
1 changed files with 1 additions and 1 deletions

@ -1383,7 +1383,7 @@
* Returns list of webdav properties to request
*/
_getWebdavProperties: function() {
return this.filesClient.getPropfindProperties();
return [].concat(this.filesClient.getPropfindProperties());
},
/**