David Jean Louis avatar David Jean Louis committed 27eddec

Fixed js and css for IE6 and IE7

Comments (0)

Files changed (2)

admin_tools/media/admin_tools/css/dashboard-ie.css

 }
 
 #content {
-    *min-width: 98%;
+    *width: 98% !important;
+    _width: 96% !important;
+    margin: 1%;
+}
+
+#container {
+    _margin: 0;
 }
 
 .dashboard-module h2 a.toggle-icon,
 }
 
 .dashboard-column {
-    padding: 20px;
 }

admin_tools/media/admin_tools/js/utils.js

             s.src = js_files[index].src;
             s.type = 'text/javascript';
             head.appendChild(s);
-
-            s.onload = function(){
-                loadScript(index+1);
+            if (/MSIE/.test(navigator.userAgent)) {
+                // Internet Explorer
+                s.onreadystatechange = function () {
+                    if (s.readyState == 'loaded' || s.readyState == 'complete') {
+                        loadScript(index+1);
+                    }
+                };
+            } else {
+                s.onload = function() { loadScript(index+1); };
             }
         } else {
             loadScript(index+1);
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.