diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-12-22 11:17:24 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-12-22 11:17:24 +0100 |
commit | ca14277fca2ea3d550606a5234c573d766180815 (patch) | |
tree | c79334f1b14e6386c2e902f08996b5631e4e6ecf /apps | |
parent | d17c2fb8d923eb2a5aa01b849139459d93227dad (diff) | |
download | nextcloud-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.js | 2 |
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()); }, /** |