Open Bug 1359790 Opened 8 years ago Updated 2 years ago

Some code in _customizationEnding doesn't run

Categories

(Firefox :: Toolbars and Customization, enhancement)

enhancement

Tracking

()

People

(Reporter: enndeakin, Unassigned)

References

Details

Attachments

(1 obsolete file)

Open the toolbar customization window and move a button somewhere and choose 'Exit Customization'. The code in browser-customization.js _customizationEnding has the line: if (aDetails.changed) { ... } aDetails is an object, but aDetails.changed is undefined, so some state updating doesn't happen. This is affecting the test in bug 1356587.
Attachment #8863454 - Flags: review?(enndeakin)
Assignee: nobody → mconley
The reason I filed this bug (found with bug 1356587) is that we want updateEditUIVisibility() to be called when you exit customization mode because the edit button visibility may have changed now that you moved the buttons somewhere else.
(In reply to Neil Deakin from comment #3) > The reason I filed this bug (found with bug 1356587) is that we want > updateEditUIVisibility() to be called when you exit customization mode > because the edit button visibility may have changed now that you moved the > buttons somewhere else. I see - would you rather take over this bug?
Flags: needinfo?(enndeakin)
I'm not really familiar with this code. Is there something else that replaces what it should be doing?
Flags: needinfo?(enndeakin)
Attachment #8863454 - Flags: review?(enndeakin)
Flags: needinfo?(mconley)
Attachment #8863454 - Attachment is obsolete: true
Flags: needinfo?(mconley)
Assignee: mconley → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: