[Laszlo-checkins] r14177 - openlaszlo/trunk/lps/components/extensions

max@openlaszlo.org max at openlaszlo.org
Wed Jun 17 12:34:53 PDT 2009


Author: max
Date: 2009-06-17 12:34:52 -0700 (Wed, 17 Jun 2009)
New Revision: 14177

Modified:
   openlaszlo/trunk/lps/components/extensions/html.lzx
Log:
Change 20090616-maxcarlson-U by maxcarlson at Bank on 2009-06-16 16:53:19 PDT
    in /Users/maxcarlson/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Simplify mouseover behavior for <html/>

Bugs Fixed: LPP-8265 - Unable to click into a swf in an iframe if ff3 on osx

Technical Reviewer: hminsky
QA Reviewer: mdemmon

Details: Remove mouseover locking logic, and disable the OL mouse whenever a view is moused over.

Tests: See LPP-8265



Modified: openlaszlo/trunk/lps/components/extensions/html.lzx
===================================================================
--- openlaszlo/trunk/lps/components/extensions/html.lzx	2009-06-17 19:13:53 UTC (rev 14176)
+++ openlaszlo/trunk/lps/components/extensions/html.lzx	2009-06-17 19:34:52 UTC (rev 14177)
@@ -304,21 +304,12 @@
     <switch>
         <when runtime="dhtml">
         <!--- @access private -->
-        <attribute name="_mouseisdown" value="false"/>
-        <handler name="onmouseover" reference="lz.GlobalMouse" args="e">
+        <handler name="onmouseover">
             <![CDATA[
             if (! this['iframeid']) return;
-            if (e == this && this._mouseisdown == false) {
-                LzMouseKernel.disableMouseTemporarily();
-            }
+            LzMouseKernel.disableMouseTemporarily();
             ]]>
         </handler>
-        <handler name="onmousedown" reference="lz.GlobalMouse" args="e">
-            if (e == this) this._mouseisdown = true;
-        </handler>
-        <handler name="onmouseup" reference="lz.GlobalMouse" args="e">
-            if (e == this) this._mouseisdown = false;
-        </handler>
         </when>
     </switch>
 </class>



More information about the Laszlo-checkins mailing list