diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-11-23 17:51:56 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-11-23 17:51:56 +0100 |
commit | 5a9c99e6ac53ec021bcd124c2b8664fe269a5168 (patch) | |
tree | 3807756037d0ccffd459aff85bc2eba2802bcde0 /core | |
parent | b3b34c08d173a2bb4518552ca92d81915d00ca53 (diff) | |
download | nextcloud-server-5a9c99e6ac53ec021bcd124c2b8664fe269a5168.tar.gz nextcloud-server-5a9c99e6ac53ec021bcd124c2b8664fe269a5168.zip |
recycle SharedFileInfo values in fileInfo
fileInfo is composed of data from sharing, however additional data is
pulled when sidebar opens, e.g. the size. Then, existing data is
overwritten by data from the other source (files). The data points that
would be lost are not dirty however and still used, so we keep them.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'core')
-rw-r--r-- | core/js/share.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/js/share.js b/core/js/share.js index 4260c0e55bd..7662d6cffb9 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -161,7 +161,6 @@ OC.Share = _.extend(OC.Share || {}, { updateIcon:function(itemType, itemSource) { var shares = false; var link = false; - var image = OC.imagePath('core', 'actions/share'); var iconClass = ''; $.each(OC.Share.itemShares, function(index) { if (OC.Share.itemShares[index]) { |