summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-12-22 11:17:24 +0100
committerVincent Petry <pvince81@owncloud.com>2015-12-22 11:17:24 +0100
commitca14277fca2ea3d550606a5234c573d766180815 (patch)
treec79334f1b14e6386c2e902f08996b5631e4e6ecf /apps
parentd17c2fb8d923eb2a5aa01b849139459d93227dad (diff)
downloadnextcloud-server-ca14277fca2ea3d550606a5234c573d766180815.tar.gz
nextcloud-server-ca14277fca2ea3d550606a5234c573d766180815.zip
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.
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/filelist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 7e1329d1155..a3dff2850bd 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -1383,7 +1383,7 @@
* Returns list of webdav properties to request
*/
_getWebdavProperties: function() {
- return this.filesClient.getPropfindProperties();
+ return [].concat(this.filesClient.getPropfindProperties());
},
/**