If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

When I type the name of a person in the needinfo "other" list, the check box should be automatically checked

RESOLVED INVALID

Status

()

bugzilla.mozilla.org
Extensions: Needinfo
RESOLVED INVALID
4 years ago
4 years ago

People

(Reporter: Away for a while, Unassigned)

Tracking

Production
x86
Mac OS X

Details

(Reporter)

Description

4 years ago
This already happens if you switch "other" to "reporter" or something.
This works for me. When I type a partial name and then select form the list of matches, it checks the checkbox. If I do not select from the list, and just tab out of the text field or click anywhere on the page, it then checks the checkbox for me.

What is the exact text you are typing in that causes the checkbox to not check by default?

Here is the code snipped that does this:

            function needinfo_other_changed() {
              YAHOO.util.Dom.get('needinfo').checked = YAHOO.util.Dom.get('needinfo_from').value != '';
            }

And the other field has onchange="needinfo_other_changed();"

dkl
Flags: needinfo?(ehsan)
(Reporter)

Comment 2

4 years ago
Don't tell anyone but it didn't occur to me to tab out of the field, and I _knew_ about the change event semantics.  Carry on.  :-)
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Flags: needinfo?(ehsan)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.