(Note: I am checking this changeset in. Please test your application to
see if there is any undesired behavior.)
Change philip-20121009-vtg by philip@philip-i7-2 on 2012-10-09 16:29:16
EDT
in /cygdrive/f/clients/laszlo/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Improve tab and shift-tab behavior between rte and input text
New Features:
Bugs Fixed: LPP-10283
Technical Reviewer: (pending)
QA Reviewer: dju
Doc Reviewer: (pending)
Documentation:
Release Notes:
Overview:
There is some code in OL that detects when focus changes from outside an
OL app and the app. This code is also triggered by the rte and html
components. I added some code to improve this.
Details:
LzInputTextSprite.js
- Modified event handling when the onfocus event is detected. If the
focus was an html/rte component, do not completely handle the event.
LzSprite-resource.js
- Added is_html flag to make it easy to detect if a sprite is owned by
an html (also rte) component.
LzKeys.lzs
- Allow the shift key state to persist when __allKeysUp() is run.
html.lzx
- Set the sprite's is_html state to true
embednew.js
- Decrease timeout when sending 'sendAllKeysUp' event from 1 sec to
200 msec.
Tests:
test case in jira.
Files:
M WEB-INF/lps/lfc/kernel/dhtml/LzInputTextSprite.js
M WEB-INF/lps/lfc/kernel/dhtml/lzsprite/LzSprite-resource.js
M WEB-INF/lps/lfc/services/LzKeys.lzs
M lps/components/extensions/html.lzx
M lps/includes/source/embednew.js
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/philip-20121009-vtg.tar