diff options
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) { |