summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-12 11:12:14 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-12 11:12:14 +0100
commitcb1051dae47c96127355201c61d7f978ffe19aa6 (patch)
tree25b2c66f6777fc4247102a8da8fd5523767fcdcb /apps/files_sharing
parent207c09c5113118d053c34360d34d27e754b34bb8 (diff)
parenta823485638256f30e52c46e92b35b53331a7c321 (diff)
downloadnextcloud-server-cb1051dae47c96127355201c61d7f978ffe19aa6.tar.gz
nextcloud-server-cb1051dae47c96127355201c61d7f978ffe19aa6.zip
Merge pull request #22305 from owncloud/sharestatus_to_ocs_22298
Calculate the share statuses in js from the OCS Response
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/js/share.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js
index f8d89828f4d..0a01c5af0ad 100644
--- a/apps/files_sharing/js/share.js
+++ b/apps/files_sharing/js/share.js
@@ -122,6 +122,10 @@
}
});
+ fileList.$el.on('changeDirectory', function() {
+ OCA.Sharing.sharesLoaded = false;
+ });
+
fileActions.registerAction({
name: 'Share',
displayName: '',