From: Thomas Müller Date: Tue, 27 Aug 2013 09:18:59 +0000 (+0200) Subject: calling replaceSVG() to display breadcrumb images correctly on IE8 X-Git-Tag: v6.0.0alpha2~179^2~9 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ef955bae566be054276ec5b2dd96fdf1c23bd1c2;p=nextcloud-server.git calling replaceSVG() to display breadcrumb images correctly on IE8 --- diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 278b2c4cbcb..21f713b4a80 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -220,7 +220,13 @@ var FileList={ $controls.prepend(result.data.breadcrumb); // TODO: might need refactor breadcrumb code into a new file //resizeBreadcrumbs(true); + + // in case svg is not supported by the browser we need to execute the fallback mechanism + if(!SVGSupport()) { + replaceSVG(); + } } + FileList.update(result.data.files); }, remove:function(name){