Change philip-20110623-CR7 by philip@PHILIP-I7 on 2011-06-23 10:29:02
EDT
in /cygdrive/c/clients/laszlo/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Improve focus/blur behavior with RTE
New Features:
Bugs Fixed: LPP-9965
Technical Reviewer: (pending)
QA Reviewer: hengly
Doc Reviewer: (pending)
Documentation:
Release Notes:
Overview:
Details:
Track focus/blur events in both rtemanager and rte to keep both of them
in sync. IE7 is the most challenging to fix.
rtemanager.js
- Attach callbacks to focus/blur events. For focus, make sure the rte
editor is focused. For blur, both the editor and dom element are
blurred. Also, focus is moved off of the iframe.
- Added editor_focus() method that is used by rte to update the focus
state of the dijit.Editor
rte.lzx
- Added handlers for onfocus and onblur to send the focus state to
rtemanager.
Tests:
Run tests in jira report. You should be able to type text into the
inputtext element.
I am aware of one issue in IE7. With IE7, you cannot type into the
inputtext until you focus onto another item and then return to the
inputtext.
Files:
M lps/components/extensions/rte.lzx
M lps/includes/source/rtemanager.js
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/philip-20110623-CR7.tar