Fixed bug #7794: opendocs causes Javascript error in Internet Explorer (thanks to...
authorJeff Segars <jsegars@alumni.rice.edu>
Tue, 11 Mar 2008 15:51:27 +0000 (15:51 +0000)
committerJeff Segars <jsegars@alumni.rice.edu>
Tue, 11 Mar 2008 15:51:27 +0000 (15:51 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3405 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/opendocs/opendocs.js

index 9ce3e86..4e4805c 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-03-11  Jeff Segars  <jeff@webempoweredchurch.org>
+
+       * Fixed bug #7794: opendocs causes Javascript error in Internet Explorer (thanks to Steffen Kamper)
+
 2008-03-10  Benjamin Mack  <benni@typo3.org>
 
        * Fixed bug #7810: t3skin: Cleanup of login stylesheet (thanks to Georg Ringer)
index b3505f0..50687a6 100644 (file)
@@ -59,7 +59,7 @@ var OpenDocs = Class.create({
         */
        positionMenu: function() {
                var calculatedOffset = 0;
-               var ownWidth         = this.menu.getWidth();
+               var ownWidth         = $(this.menu).getWidth();
                var parentWidth      = $(this.menuItem).getWidth();
                var parentSiblings   = $(this.menuItem).previousSiblings();