[Laszlo-checkins] r13671 - openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml
bargull@openlaszlo.org
bargull at openlaszlo.org
Tue Apr 14 06:35:14 PDT 2009
Author: bargull
Date: 2009-04-14 06:35:10 -0700 (Tue, 14 Apr 2009)
New Revision: 13671
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzInputTextSprite.js
Log:
Change 20090414-bargull-coz by bargull at dell--p4--2-53 on 2009-04-14 01:35:26
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: update for Firefox focus-bug workaround
New Features:
Bugs Fixed: LPP-7786 (It takes two clicks to get focus into an edittext/inputtext in DHTML), LPP-7797 (Possible to get text in two text components selected at the same time in DHTML) (Firefox-only)
Technical Reviewer: hminsky
QA Reviewer: mdemmon
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
Also re-initiate focus when _cancelblur-flag is set.
Tests:
see bugreports
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzInputTextSprite.js
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzInputTextSprite.js 2009-04-14 08:00:13 UTC (rev 13670)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzInputTextSprite.js 2009-04-14 13:35:10 UTC (rev 13671)
@@ -564,6 +564,10 @@
}
if (sprite._cancelblur) {
sprite._cancelblur = false;
+ if (nextFocus) {
+ // re-initiate focus
+ nextFocus.focus();
+ }
return;
}
} else if (eventname == 'onmouseout') {
@@ -669,6 +673,7 @@
if (nextFocus) {
// re-initiate focus, see above
+ // do this late to preserve correct event order
nextFocus.focus();
}
}
More information about the Laszlo-checkins
mailing list