Closed
Bug 568947
Opened 14 years ago
Closed 6 years ago
ontextentered should be a real event
Categories
(Toolkit :: Autocomplete, defect)
Toolkit
Autocomplete
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: BenB, Unassigned)
Details
Just wasted 2 hours, because ontextentered is documented to be an event, but it's not. addEventListener() does not work, and not even ontextentered="onTextEntered(event);" works. The latter also fails silently, due to |event| being undefined, but without any error on the error console or OS console. The autocomplete.xml fireEvent() method "is just plain wrong" (quote). You should just fire a real event. If there's anything speaking against it, solve it in a different way. This is just a mean foot angle. Haha, yet another XUL developer on the floor.
Reporter | ||
Comment 1•14 years ago
|
||
<https://developer.mozilla.org/En/XUL/Textbox_%28Toolkit_autocomplete%29#a-ontextentered> says "This event handler is called when a result is selected for the textbox."
Comment 2•12 years ago
|
||
How is it an event handler if there is no event object?
Comment 3•6 years ago
|
||
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•