Browse Source

Merge pull request #2620 from nextcloud/theming-externalfiles

Show theming icons on external storage folders
pull/2535/head
Lukas Reschke 9 years ago
committed by GitHub
parent
commit
6cd421e603
  1. 6
      apps/files_external/js/statusmanager.js

6
apps/files_external/js/statusmanager.js

@ -539,7 +539,11 @@ OCA.External.StatusManager.Utils = {
* of the tr matching the folder name
*/
getIconRoute: function (tr) {
var icon = OC.imagePath('core', 'filetypes/folder-external');
if (OCA.Theming) {
var icon = OC.generateUrl('/apps/theming/img/core/filetypes/folder-external.svg?v=' + OCA.Theming.cacheBuster);
} else {
var icon = OC.imagePath('core', 'filetypes/folder-external');
}
var backend = null;
if (tr instanceof $) {

Loading…
Cancel
Save