Open
Bug 442466
Opened 17 years ago
Updated 3 years ago
locked <preference>s don't disable all their UI
Categories
(Toolkit :: Preferences, defect)
Toolkit
Preferences
Tracking
()
NEW
People
(Reporter: mnyromyr, Unassigned)
Details
One can lock preferences by specifying a special lock file which e.g. sets
lockPref("pref442251", "fixed value");
These locked prefs will disable all elements referencing them directly via the "preference" attribute, but other elements tied to it (via "control" or "aria-labelledby" attributes) will not.
But should be.
Basically, I think the problem is here in setElementValue <http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/toolkit/content/widgets/preferences.xml&rev=1.81&mark=380-381#376>:
if (this.locked)
aElement.disabled = true;
Here, the same processing should be done as in the <preference>.disabled setter (once bug 442454 is fixed), disabling all tied elements also.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•