[Laszlo-dev] For Review: Change 20090602-maxcarlson-i Summary: Fix IE to select inputtexts that share the same area as a text

Max Carlson max at openlaszlo.org
Wed Jun 3 17:16:21 PDT 2009


Henry, can you take a look at this one?  Thanks!

Max Carlson wrote:
> Change 20090602-maxcarlson-i by maxcarlson at Bank on 2009-06-02 16:37:12 PDT
>     in /Users/maxcarlson/openlaszlo/trunk-clean
>     for http://svn.openlaszlo.org/openlaszlo/trunk
> 
> Summary: Fix IE to select inputtexts that share the same area as a text
> 
> Bugs Fixed: LPP-8219 - IE DHTML: inputtext focus/selection issues
> 
> Technical Reviewer: hminsky
> QA Reviewer: mdemmon
> 
> Details: LzSprite - Add textgrabsinputtextfocus quirk, set to true for IE.
> 
> LzInputTextSprite - __hideIfNotFocused():  Shorten lookups to 
> LzInputTextSprite.prototype.  Look at the srcElement of the last event 
> to see if it was an instance of LzTextSprite - this happens when an text 
> is in the same area as an inputtext.  If this is the case, focus the 
> inputtext and avoid hiding the shown inputtext.
> 
> Tests: Testcase from LPP-8219 and compose window in webtop mail allows 
> the to: field to be selected in the area that says 'Drag a contact or 
> type for autosuggest'.
> 
> Files:
> M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
> M      WEB-INF/lps/lfc/kernel/dhtml/LzInputTextSprite.js
> 
> Changeset: 
> http://svn.openlaszlo.org/openlaszlo/patches/20090602-maxcarlson-i.tar

-- 
Regards,
Max Carlson
OpenLaszlo.org


More information about the Laszlo-dev mailing list