From ef955bae566be054276ec5b2dd96fdf1c23bd1c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Tue, 27 Aug 2013 11:18:59 +0200 Subject: [PATCH] calling replaceSVG() to display breadcrumb images correctly on IE8 --- apps/files/js/filelist.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 278b2c4cbc..21f713b4a8 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){