]> source.dussan.org Git - nextcloud-server.git/commitdiff
calling replaceSVG() to display breadcrumb images correctly on IE8
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 27 Aug 2013 09:18:59 +0000 (11:18 +0200)
committerVincent Petry <pvince81@owncloud.com>
Fri, 13 Sep 2013 17:59:15 +0000 (19:59 +0200)
apps/files/js/filelist.js

index 278b2c4cbcb8ed7af27ab17cedba5a69c38d5063..21f713b4a80eb4564f4bf9a2cd8dcd73d0e2afc2 100644 (file)
@@ -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){