[Laszlo-checkins] r13822 - in openlaszlo/trunk: WEB-INF/lps/lfc/kernel/dhtml test/contextmenu

hqm@openlaszlo.org hqm at openlaszlo.org
Thu May 7 11:27:27 PDT 2009


Author: hqm
Date: 2009-05-07 11:27:25 -0700 (Thu, 07 May 2009)
New Revision: 13822

Added:
   openlaszlo/trunk/test/contextmenu/ie7.lzx
Modified:
   openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzContextMenuKernel.lzs
Log:
Change 20090507-hqm-x by hqm at badtzmaru.home on 2009-05-07 12:51:20 EDT
    in /Users/hqm/openlaszlo/trunk-diamond
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: fix for  DHTML IE: Context menus too wide

New Features:

Bugs Fixed: LPP-8137

Technical Reviewer: max
QA Reviewer: andre
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
    
+ enclose DHTML context menu within a <table>, to prevent the <hr> from expanding to
the width of the canvas in IE7.


Tests:

tested in FF/OSX, and IE7/WINXP  DHTML
test/contextmenu/ie7.lzx



Modified: openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzContextMenuKernel.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzContextMenuKernel.lzs	2009-05-07 16:53:13 UTC (rev 13821)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzContextMenuKernel.lzs	2009-05-07 18:27:25 UTC (rev 13822)
@@ -1,6 +1,6 @@
 /**
   *
-  * @copyright Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.
+  * @copyright Copyright 2001-2009 Laszlo Systems, Inc.  All Rights Reserved.
   *            Use is subject to license terms.
   *
   * @access public
@@ -118,7 +118,7 @@
     
     LzMouseKernel.__showncontextmenu = this;
 
-    s.innerHTML = o;
+    s.innerHTML = "<table><tr><td>"+o+"</td></tr></table>";
     if (send) {
         s.style.left = LzMouseKernel.__x + 'px';
         s.style.top = LzMouseKernel.__y + 'px';

Added: openlaszlo/trunk/test/contextmenu/ie7.lzx


Property changes on: openlaszlo/trunk/test/contextmenu/ie7.lzx
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native



More information about the Laszlo-checkins mailing list