Closed
Bug 488078
Opened 16 years ago
Closed 16 years ago
Don't require people to manually setting up a settings init for a new setting
Categories
(Skywriter Graveyard :: General, defect, P4)
Skywriter Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
Future
People
(Reporter: dion, Assigned: dion)
Details
(Whiteboard: settings)
For silly reasons, if you implemented a new setting you would run into a common issue:
"hmm when I run 'set foo bar' it works fine, but if I reload the page, the fact that it is 'bar' doesn't seem to kick in"
To fix this, you had to actually manually hook into settings:init and do a reset:
bespin.publish("settings:set:theme", {
value: settings.get("theme")
});
This is silly and keeps causing bugs. So, I finally fixed this and now as soon as you implement a specific hook for your own set, init will fire this off for you.
Assignee | ||
Comment 1•16 years ago
|
||
Fixed in changeset: b46a311ed352
Assignee: nobody → dion
Status: NEW → RESOLVED
Closed: 16 years ago
Priority: -- → P4
Resolution: --- → FIXED
Whiteboard: settings
Comment 2•16 years ago
|
||
This is a mass migration from Mozilla Labs :: Bespin to Bespin :: General.
This bug likely still needs to be triaged and categorized.
Component: Bespin → General
Product: Mozilla Labs → Bespin
QA Contact: bespin → general
You need to log in
before you can comment on or make changes to this bug.
Description
•