Don't need IE8 workarounds with prototypejs 1.6.1
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 18 Jun 2009 17:40:08 +0000 (11:40 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 18 Jun 2009 17:40:08 +0000 (11:40 -0600)
imp/lib/DIMP.php
imp/templates/common-header.inc

index 4300be2..a7ce633 100644 (file)
@@ -99,13 +99,6 @@ class DIMP
              (!empty($GLOBALS['language']) ? '<html lang="' . strtr($GLOBALS['language'], '_', '-') . '"' : '<html') . ">\n".
              "<head>\n";
 
-        // TODO: Make dimp work with IE 8 standards mode
-        //       Needs prototypejs 1.6.0.4
-        if ($GLOBALS['browser']->isBrowser('msie') &&
-            ($GLOBALS['browser']->getMajor() == 8)) {
-            echo '<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />' . "\n";
-        }
-
         echo '<title>' . htmlspecialchars($page_title) . "</title>\n" .
              '<link href="' . $GLOBALS['registry']->getImageDir() . "/favicon.ico\" rel=\"SHORTCUT ICON\" />\n";
         include IMP_BASE . '/templates/javascript_defs_dimp.php';
index dc86de1..569dd1a 100644 (file)
@@ -13,10 +13,6 @@ if (!empty($title)) $page_title .= ' :: ' . $title;
 if (!empty($refresh_time) && !empty($refresh_url)) {
     echo "<meta http-equiv=\"refresh\" content=\"$refresh_time;url=$refresh_url\" />\n";
 }
-if ($GLOBALS['browser']->isBrowser('msie') &&
-    ($GLOBALS['browser']->getMajor() == 8)) {
-    echo '<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />' . "\n";
-}
 echo Horde_Util::bufferOutput('require', IMP_TEMPLATES . '/javascript_defs.php');
 IMP::includeScriptFiles();
 IMP::includeStylesheetFiles(!empty($printer_friendly));