diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-01-20 19:45:32 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-01-26 13:59:49 +0100 |
commit | f6e644b43fe3c33ba298ee34a73536c85cc92b4a (patch) | |
tree | 7e8fe8eaa51f56765d6147f37a91fad9a1b325d0 /apps/files_sharing/js | |
parent | dc4ceda2f5d1c8007ffd9b5cacbd794f06b1957d (diff) | |
download | nextcloud-server-f6e644b43fe3c33ba298ee34a73536c85cc92b4a.tar.gz nextcloud-server-f6e644b43fe3c33ba298ee34a73536c85cc92b4a.zip |
Catch storage exception in scanner for remote shares
Whenever an exception occurs during scan of a remote share, the share is
checked for availability. If the storage is gone, it will be removed
automatically.
Also, getDirectoryContent() will now skip unavailable storages.
Diffstat (limited to 'apps/files_sharing/js')
-rw-r--r-- | apps/files_sharing/js/external.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/js/external.js b/apps/files_sharing/js/external.js index 31407f28ffd..85a9159fa69 100644 --- a/apps/files_sharing/js/external.js +++ b/apps/files_sharing/js/external.js @@ -95,7 +95,7 @@ name: share.name, password: password}, function(result) { if (result.status === 'error') { - OC.Notification.show(result.data.message); + OC.Notification.showTemporary(result.data.message); } else { fileList.reload(); } |