summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js/external.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_sharing/js/external.js')
-rw-r--r--apps/files_sharing/js/external.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/files_sharing/js/external.js b/apps/files_sharing/js/external.js
index 0ca8213168e..be384818c3c 100644
--- a/apps/files_sharing/js/external.js
+++ b/apps/files_sharing/js/external.js
@@ -107,11 +107,7 @@
ownerDisplayName: share.ownerDisplayName || share.owner,
name: share.name,
password: password}, function(result) {
- if (result.status === 'error') {
- OC.Notification.showTemporary(result.data.message);
- } else {
- fileList.reload();
- }
+ OC.Notification.showTemporary(result.data.message);
});
}
};