Closed Bug 764517 Opened 13 years ago Closed 13 years ago

Clearing the list of keywords and then pressing Enter causes the first keyword to be submitted

Categories

(Bugzilla :: User Interface, defect)

4.0.6
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 4.2

People

(Reporter: ehsan.akhgari, Assigned: glob)

References

Details

Attachments

(1 file)

STR: 1. Open a bug with a keyword. 2. Clear the list of the keywords, and then press Enter. You have now chosen the first keyword in the list!
Not a BMO customization so we will push upstream and work it from there. dkl
Assignee: nobody → ui
Product: bugzilla.mozilla.org → Bugzilla
QA Contact: ui → default-qa
Version: Production → 4.0.6
Also fails if you leave the comma at the end of the list, i.e. 1. Start with "access, checkin-needed" 2. Delete "checkin-needed", but retain the comma after "access" 3. Press Enter. 4. Watch "#relman/triage/defer-to-group" get added.
Attached patch patch v1Splinter Review
this patch disables autoHighlight when the query is empty.
Assignee: ui → glob
Status: NEW → ASSIGNED
Attachment #633420 - Flags: review?(dkl)
Comment on attachment 633420 [details] [diff] [review] patch v1 Review of attachment 633420 [details] [diff] [review]: ----------------------------------------------------------------- nice. r=dkl
Attachment #633420 - Flags: review?(dkl) → review+
Flags: approval?
Flags: approval?
Flags: approval4.2+
Flags: approval+
OS: Mac OS X → All
Hardware: x86 → All
Target Milestone: --- → Bugzilla 4.2
Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bugzilla/4.2 modified js/field.js Committed revision 8102. Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bugzilla/trunk/ modified js/field.js Committed revision 8294.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Depends on: 780883
Blocks: 780883
No longer depends on: 780883
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: