Closed Bug 645062 Opened 13 years ago Closed 13 years ago

Error in console when adding/removing search box from toolbar

Categories

(SeaMonkey :: Search, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: iannbugzilla, Assigned: neil)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

As identified in bug 401417 comment 65
I got when adding/removing the search box from the toolbar:
Error: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIObserverService.removeObserver]"  nsresult:
"0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame ::
chrome://communicator/content/search/search.xml ::  :: line 129"  data: no]
Attached patch Proposed patchSplinter Review
By making the field part of the binding, it gets deleted when the binding does.
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #521907 - Flags: review?(iann_bugzilla)
Blocks: 640970
Attachment #521907 - Flags: review?(iann_bugzilla) → review+
Pushed changeset 45c91c9e5435 to comm-central.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: