]> source.dussan.org Git - nextcloud-server.git/commit
Fixed sharing status update for new/uploaded files
authorVincent Petry <pvince81@owncloud.com>
Thu, 17 Oct 2013 09:59:13 +0000 (11:59 +0200)
committerVincent Petry <pvince81@owncloud.com>
Thu, 17 Oct 2013 12:56:38 +0000 (14:56 +0200)
commit79cf3a722e6b6a05f0179248f14caec38c7222a3
treec6f9ba1e46182ff76961f50813a81f90f4e6a047
parent5dda9c08c7b2d27eb20d1dcdc1b5ebcdaecd8668
Fixed sharing status update for new/uploaded files

Creating new files, folders or uploading files now have their sharing
icon updated accordingly.

For this, the global share status list that is cached in
OC.Share.statuses is reused for new files.

In OC.Share, split loadIcons into loadIcons + updateIcons.

Fixes #4977

Backport of 70c9652cdf6e00f1c62fb9a61d9dd4fb3e2c93c3
apps/files/js/file-upload.js
apps/files/js/fileactions.js
apps/files/js/filelist.js
apps/files_sharing/js/share.js
core/js/share.js