calling replaceSVG() to display breadcrumb images correctly on IE8

This commit is contained in:
Thomas Müller 2013-08-27 11:18:59 +02:00 committed by Vincent Petry
parent e6f21927d6
commit ef955bae56
1 changed files with 6 additions and 0 deletions

View File

@ -220,7 +220,13 @@ var FileList={
$controls.prepend(result.data.breadcrumb); $controls.prepend(result.data.breadcrumb);
// TODO: might need refactor breadcrumb code into a new file // TODO: might need refactor breadcrumb code into a new file
//resizeBreadcrumbs(true); //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); FileList.update(result.data.files);
}, },
remove:function(name){ remove:function(name){