aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-02-11 11:06:26 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-02-11 11:06:26 +0100
commita823485638256f30e52c46e92b35b53331a7c321 (patch)
tree6555d4a991f6dc66c0b6c5fb6031c98afc709fb3 /apps
parentf5be48d81dc4cb2d9e7b1ef340deec2ded042982 (diff)
downloadnextcloud-server-a823485638256f30e52c46e92b35b53331a7c321.tar.gz
nextcloud-server-a823485638256f30e52c46e92b35b53331a7c321.zip
Reload list of shares on directory change
Diffstat (limited to 'apps')
-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: '',