Approved. On FF1.5/dhtml I do see a permission error when I do step 4
(clicking on the blue box after clicking in the text field). I don't get
this error in FF 2.0:
[Exception... "'Permission denied to set property XULElement.selectedIndex'
when calling method: [nsIAutoCompletePopup::selectedIndex]" nsresult:
"0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame ::
http://localhost:8080/wafflecone/lps/includes/lfc/LFCdhtml-debug.js ::
anonymous :: line 7274" data: no]
The line in question is from: LzInputTextSprite.prototype.deselect
The line is: this.__LzInputDiv.blur()
Change 20070817-maxcarlson-I by [EMAIL PROTECTED] on 2007-08-17
12:08:41 PDT
in /Users/maxcarlson/openlaszlo/wafflecone
for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone
Summary: Fix duplicate onfocus and onblur events
New Features:
Bugs Fixed: LPP-3907 - edittext and inputtext may fire onfocus resp.
onblur twice
Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: LzInputTextSprite.as - Fix test for current focus in
__handlelostFocus().
LzInputTextSprite.lzs - Track current focus/blur state to avoid
sending duplicate events.
Tests: Testcase from LPP-3907 passes in swf and dhtml.
Files:
M WEB-INF/lps/lfc/kernel/swf/LzInputTextSprite.as
M WEB-INF/lps/lfc/views/LzInputText.lzs
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070817-
maxcarlson-I.tar