From 3ae928c661866d0e36651f03e8a654d524225bf5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jes=C3=BAs=20Macias?= Date: Fri, 15 Jan 2016 13:06:12 +0100 Subject: [PATCH] Change icon only on WND and Sharepoint external storages --- apps/files_external/js/statusmanager.js | 26 +------------------------ 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/apps/files_external/js/statusmanager.js b/apps/files_external/js/statusmanager.js index 5455b45d461..27635d2f1df 100644 --- a/apps/files_external/js/statusmanager.js +++ b/apps/files_external/js/statusmanager.js @@ -449,36 +449,12 @@ OCA.External.StatusManager.Utils = { } switch (backend) { - case 'wnd': + case 'windows_network_drive': icon = OC.imagePath('windows_network_drive', 'folder-windows'); break; case 'sharepoint': icon = OC.imagePath('sharepoint', 'folder-sharepoint'); break; - case 'amazons3': - icon = OC.imagePath('core', 'filetypes/folder-external'); - break; - case 'dav': - icon = OC.imagePath('core', 'filetypes/folder-external'); - break; - case 'dropbox': - icon = OC.imagePath('core', 'filetypes/folder-external'); - break; - case 'ftp': - icon = OC.imagePath('core', 'filetypes/folder-external'); - break; - case 'google': - icon = OC.imagePath('core', 'filetypes/folder-external'); - break; - case 'owncloud': - icon = OC.imagePath('core', 'filetypes/folder-external'); - break; - case 'sftp': - icon = OC.imagePath('core', 'filetypes/folder-external'); - break; - case 'swift': - icon = OC.imagePath('core', 'filetypes/folder-external'); - break; } return icon; -- 2.39.5