aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/js
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2016-07-13 11:32:27 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2016-07-14 16:39:48 +0200
commit55b990b544c3db1c8814bb541aababf4a23324f8 (patch)
tree75a4751391274876601711f12b781a6f126adc16 /apps/federatedfilesharing/js
parent5bbba490c4444f7977e7ad0ce4266acbd67eee86 (diff)
downloadnextcloud-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.js7
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) {