]> source.dussan.org Git - nextcloud-server.git/commitdiff
Added SVG fallback to apps settings popup
authortsumi <mail@tsumi.it>
Fri, 10 Jan 2014 20:19:30 +0000 (21:19 +0100)
committertsumi <mail@tsumi.it>
Fri, 10 Jan 2014 20:19:30 +0000 (21:19 +0100)
This fix issue of calendar app with IE8, see issue report for details:
https://github.com/owncloud/calendar/issues/291

core/js/js.js

index f380234af05ba5feed4290c614c06424251a9e25..92f2ac484e4395f4b2ee73b1b106916c39eb712f 100644 (file)
@@ -416,6 +416,11 @@ var OC={
                                                        throw e;
                                                });
                                        }
+                                       if(!SVGSupport()) {
+                                               replaceSVG();
+                                       } else {
+                                               SVGSupport.checkMimeType();
+                                       }
                                }).show();
                        }, 'html');
                }