* Fixed bug #3729: Roll-over (RO) on a GMENU in IE didn't work with xhtml_strict
authorErnesto Baschny <ernst@cron-it.de>
Wed, 18 Apr 2007 13:41:48 +0000 (13:41 +0000)
committerErnesto Baschny <ernst@cron-it.de>
Wed, 18 Apr 2007 13:41:48 +0000 (13:41 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2258 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_fe.php

index ff20770..7029b82 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-04-18  Ernesto Baschny  <ernst@cron-it.de>
+
+       * Fixed bug #3729: Roll-over (RO) on a GMENU in IE didn't work with xhtml_strict
+
 2007-04-18  Dmitry Dulepov  <dmitry@typo3.org>
 
        * Fixed: t3lib_BEfunc::getRecord() did not free recordset. This can cause memory leaks if persistent mysql connections are used
index 2fea458..19b65c3 100755 (executable)
@@ -3804,13 +3804,13 @@ if (version == "n3") {
 '              // JS function for mouse-over
        function over(name,imgObj)      {       //
                if (version == "n3" && document[name]) {document[name].src = eval(name+"_h.src");}
-               else if (typeof(document.getElementById)=="function" && document.getElementById(name)) {document.getElementById(name).src = eval(name+"_h.src");}
+               else if (document.getElementById && document.getElementById(name)) {document.getElementById(name).src = eval(name+"_h.src");}
                else if (imgObj)        {imgObj.src = eval(name+"_h.src");}
        }
                // JS function for mouse-out
        function out(name,imgObj)       {       //
                if (version == "n3" && document[name]) {document[name].src = eval(name+"_n.src");}
-               else if (typeof(document.getElementById)=="function" && document.getElementById(name)) {document.getElementById(name).src = eval(name+"_n.src");}
+               else if (document.getElementById && document.getElementById(name)) {document.getElementById(name).src = eval(name+"_n.src");}
                else if (imgObj)        {imgObj.src = eval(name+"_n.src");}
        }';
                                break;