]> source.dussan.org Git - nextcloud-server.git/commitdiff
Change icon only on WND and Sharepoint external storages
authorJesús Macias <jmacias@solidgear.es>
Fri, 15 Jan 2016 12:06:12 +0000 (13:06 +0100)
committerJesús Macias <jmacias@solidgear.es>
Fri, 15 Jan 2016 12:06:12 +0000 (13:06 +0100)
apps/files_external/js/statusmanager.js

index 5455b45d4611e20c93899a6de5296a0a54c9d78e..27635d2f1dfc10d3b147e95c9cdf3ada5a7541ca 100644 (file)
@@ -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;