Open Bug 546908 Opened 16 years ago Updated 3 years ago

Cannot set label of prefpane dynamically

Categories

(Core :: XUL, defect)

x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: ryanli, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a2pre) Gecko/20100217 Minefield/3.7a2pre Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a2pre) Gecko/20100217 Minefield/3.7a2pre If we use JavaScript to set the label attribute of a specific <prefpane> element after <prefwindow> is loaded, the label will not updated in the toolbar. Reproducible: Always Steps to Reproduce: 1. Create a <prefwindow> element with several <prefpane>s inside. 2. Set the `label' attribute of a certain <prefpane> element with JavaScript. Actual Results: The label in the toolbar isn't updated to what you assigned in JavaScript, instead, it remains as the one in XUL. Expected Results: The label in the toolbar should be updated as the assigned new label in JavaScript.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.