diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2016-07-13 11:32:27 +0200 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2016-07-14 16:39:48 +0200 |
commit | 55b990b544c3db1c8814bb541aababf4a23324f8 (patch) | |
tree | 75a4751391274876601711f12b781a6f126adc16 /apps/federatedfilesharing/js | |
parent | 5bbba490c4444f7977e7ad0ce4266acbd67eee86 (diff) | |
download | nextcloud-server-55b990b544c3db1c8814bb541aababf4a23324f8.tar.gz nextcloud-server-55b990b544c3db1c8814bb541aababf4a23324f8.zip |
allow to mount public link from Nextclouds <= 9
Diffstat (limited to 'apps/federatedfilesharing/js')
-rw-r--r-- | apps/federatedfilesharing/js/external.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/federatedfilesharing/js/external.js b/apps/federatedfilesharing/js/external.js index e8262092ee8..1daecd2e744 100644 --- a/apps/federatedfilesharing/js/external.js +++ b/apps/federatedfilesharing/js/external.js @@ -91,6 +91,7 @@ * through the URL */ processIncomingShareFromUrl: function() { + var fileList = this.filesApp.fileList; var params = OC.Util.History.parseUrlQuery(); //manually add server-to-server share if (params.remote && params.token && params.owner && params.name) { @@ -110,7 +111,11 @@ } ).done( function(data) { - OC.Notification.showTemporary(data.message); + if (data.hasOwnProperty('legacyMount')) { + fileList.reload(); + } else { + OC.Notification.showTemporary(data.message); + } } ).fail( function(data) { |