summaryrefslogtreecommitdiffstats
path: root/apps/files_external/js/statusmanager.js
diff options
context:
space:
mode:
authorJesús Macias <jmacias@solidgear.es>2016-01-15 13:06:12 +0100
committerJesús Macias <jmacias@solidgear.es>2016-01-15 13:06:12 +0100
commit3ae928c661866d0e36651f03e8a654d524225bf5 (patch)
treea41405a5c9a2d7603866437f7c8d82e556a306a1 /apps/files_external/js/statusmanager.js
parent5aa5d3a9ae5d13e84e50b0eea9e78dfa9c3682d1 (diff)
downloadnextcloud-server-3ae928c661866d0e36651f03e8a654d524225bf5.tar.gz
nextcloud-server-3ae928c661866d0e36651f03e8a654d524225bf5.zip
Change icon only on WND and Sharepoint external storages
Diffstat (limited to 'apps/files_external/js/statusmanager.js')
-rw-r--r--apps/files_external/js/statusmanager.js26
1 files changed, 1 insertions, 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;