diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-01-29 10:43:13 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-01-29 10:43:13 +0100 |
commit | e6f93fc84140931d13c8e77b12fd6ec53a04457a (patch) | |
tree | 26ff98195ed1db986c3fc9837cdc1bcf1f9fa32c /apps/files/js/files.js | |
parent | cf2c061f1f2577b3a995d9e2423c93589d7df2b3 (diff) | |
download | nextcloud-server-e6f93fc84140931d13c8e77b12fd6ec53a04457a.tar.gz nextcloud-server-e6f93fc84140931d13c8e77b12fd6ec53a04457a.zip |
Fix warnings in logs when renaming over the web UI
The determineIcon() method was expecting attributes to be set which
caused warnings about undefined indices in the error log.
This fix pre-initializes the array with 'directory' and
'isPreviewAvailable' to make them disappear.
Diffstat (limited to 'apps/files/js/files.js')
0 files changed, 0 insertions, 0 deletions