[Laszlo-checkins] r16837 - in openlaszlo/branches/4.8: . WEB-INF/lps/lfc/kernel/dhtml
ptw@openlaszlo.org
ptw at openlaszlo.org
Tue Jun 29 17:59:39 PDT 2010
Author: ptw
Date: 2010-06-29 17:59:38 -0700 (Tue, 29 Jun 2010)
New Revision: 16837
Modified:
openlaszlo/branches/4.8/
openlaszlo/branches/4.8/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
Log:
Merged revisions 16826 via svnmerge from
http://svn.openlaszlo.org/openlaszlo/trunk
.......
r16826 | max | 2010-06-29 00:45:33 -0400 (Tue, 29 Jun 2010) | 16 lines
Change 20100628-maxcarlson-F by maxcarlson at friendly on 2010-06-28 12:44:18 PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix spurious mouseover events in IE DHTML
Bugs Fixed: LPP-9107 - DHTML - IE7 - Amazon - When drag the album, the frame of album will be stay at original place
Technical Reviewer: hminsky
QA Reviewer: ptw
Details: IE needs an extra check to make sure the mosue is still over __lastMouseOver before sending an onmosueover event.
Tests: See LPP-9107, testcase at LPP-8445 runs as before
.......
Property changes on: openlaszlo/branches/4.8
___________________________________________________________________
Name: svnmerge-integrated
- /openlaszlo/trunk:1-3892,3894-3952,3954-4393,4395-4461,4463-4467,4469-4471,4473-5085,5087-5171,5173-5203,5205-5209,5211-5331,5333-5334,16597,16605,16610,16624,16628,16650,16711,16724,16757,16767,16771,16796,16824-16825,16835 /openlaszlo/branches/4.7:1-15424,15759-15761,16592,16634 /openlaszlo/branches/4.2:1-12154,12181,13205,13778,14112,14287,14316,14508,14517-14590 /openlaszlo/branches/4.1:1-10153 /openlaszlo/branches/4.4:1-13936,14007 /openlaszlo/branches/devildog:1-8432 /openlaszlo/branches/pagan-deities:1-7955,8825,10756-10920,10922-10928,10930-10935,11151,11207,11554,13476,13629,15650,15685 /openlaszlo/branches/paperpie:1-6504,6506-6574,6576-7135,7137-7235 /openlaszlo/branches/wafflecone:1-5746,5818-6068,6070-6205,6207-6213,6216-6265,6267-6368,6370-6431,6433-6450,6497,6509,6661,7097,7872
+ /openlaszlo/trunk:1-3892,3894-3952,3954-4393,4395-4461,4463-4467,4469-4471,4473-5085,5087-5171,5173-5203,5205-5209,5211-5331,5333-5334,16597,16605,16610,16624,16628,16650,16711,16724,16757,16767,16771,16796,16824-16826,16835 /openlaszlo/branches/4.7:1-15424,15759-15761,16592,16634 /openlaszlo/branches/4.2:1-12154,12181,13205,13778,14112,14287,14316,14508,14517-14590 /openlaszlo/branches/4.1:1-10153 /openlaszlo/branches/4.4:1-13936,14007 /openlaszlo/branches/devildog:1-8432 /openlaszlo/branches/pagan-deities:1-7955,8825,10756-10920,10922-10928,10930-10935,11151,11207,11554,13476,13629,15650,15685 /openlaszlo/branches/paperpie:1-6504,6506-6574,6576-7135,7137-7235 /openlaszlo/branches/wafflecone:1-5746,5818-6068,6070-6205,6207-6213,6216-6265,6267-6368,6370-6431,6433-6450,6497,6509,6661,7097,7872
Modified: openlaszlo/branches/4.8/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
===================================================================
--- openlaszlo/branches/4.8/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js 2010-06-30 00:46:45 UTC (rev 16836)
+++ openlaszlo/branches/4.8/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js 2010-06-30 00:59:38 UTC (rev 16837)
@@ -1672,7 +1672,18 @@
//Debug.info('__globalmouseup', LzMouseKernel.__lastMouseOver, e);
if (LzMouseKernel.__lastMouseOver) {
// send artificial onmouseover event - see LPP-8445
- LzMouseKernel.__lastMouseOver.__mouseEvent('onmouseover', true);
+ var sendmouseover = true;
+ // the mouse went up on this sprite
+ if (this.quirks.ie_mouse_events) {
+ // cancel sending if the mouse isn't currently over __lastMouseOver
+ // see LPP-9107
+ if (! LzMouseKernel.__lastMouseOver.__isMouseOver()) {
+ sendmouseover = false;
+ }
+ }
+ if (sendmouseover) {
+ LzMouseKernel.__lastMouseOver.__mouseEvent('onmouseover', true);
+ }
LzMouseKernel.__lastMouseOver = null;
}
}
More information about the Laszlo-checkins
mailing list