Closed Bug 234724 Opened 21 years ago Closed 21 years ago

about:config fails miserably if you filter for string with uppercase chars

Categories

(SeaMonkey :: UI Design, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.7beta

People

(Reporter: Biesinger, Assigned: Biesinger)

References

Details

Attachments

(1 file)

in function FilterPrefs() var substring = document.getElementById("textbox").value.toString(); note: this may contain uppercase chars if (gPrefArray[i].prefCol.toLowerCase().indexOf(substring) >= 0) note: this can not possibly contain uppercase chars
Attachment #141653 - Flags: superreview?(bzbarsky)
Attachment #141653 - Flags: review?(neil.parkwaycc.co.uk)
Status: NEW → ASSIGNED
OS: Linux → All
Hardware: PC → All
Target Milestone: --- → mozilla1.7beta
Comment on attachment 141653 [details] [diff] [review] patch sr=bzbarsky
Attachment #141653 - Flags: superreview?(bzbarsky) → superreview+
Comment on attachment 141653 [details] [diff] [review] patch >- var substring = document.getElementById("textbox").value.toString(); What was I on when I wrote that? I probably wrote toString instead of toLowerCase or something... take the toString out if you like. >+ var substring = document.getElementById("textbox").value.toString().toLowerCase();
Attachment #141653 - Flags: review?(neil.parkwaycc.co.uk) → review+
Checking in config.js; /cvsroot/mozilla/xpfe/global/resources/content/config.js,v <-- config.js new revision: 1.12; previous revision: 1.11 done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
*** Bug 211041 has been marked as a duplicate of this bug. ***
forgot to remove .toString in my last checkin, did that now.
Product: Core → Mozilla Application Suite
Component: XP Apps: GUI Features → UI Design
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: