From f6e644b43fe3c33ba298ee34a73536c85cc92b4a Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Tue, 20 Jan 2015 19:45:32 +0100 Subject: 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. --- apps/files_sharing/js/external.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files_sharing/js') 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(); } -- cgit v1.2.3