Closed Bug 286999 Opened 20 years ago Closed 20 years ago

Exception calling xulSortService.sort()

Categories

(Other Applications Graveyard :: ChatZilla, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: samuel, Assigned: rginda)

Details

Attachments

(1 file)

For every view opened in chatzilla the following error is displayed on the console: cz: Exception calling xulSortService.sort()
The problem is that DOM-created objects are not filled out right away. Changing the updateUserList() to setTimeout(updateUserList, 0) fixes it.
Attachment #178153 - Flags: review?(samuel) → review?(silver)
Comment on attachment 178153 [details] [diff] [review] Return early if we can't sort yet Looks ok, assuming .view is always there, just null in this case (or we get a strict warning). r=silver@warwickcompsoc.co.uk
Attachment #178153 - Flags: review?(silver) → review+
Attachment #178153 - Flags: approval1.8b2?
Comment on attachment 178153 [details] [diff] [review] Return early if we can't sort yet a=asa
Attachment #178153 - Flags: approval1.8b2? → approval1.8b2+
Fix checked in.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: