Making a pop-up menu reflect a preference, even the default value
I'm trying to make a pop-up menu that reflects a preference. One case
doesn't work though: When the menu is shown and the value of the
preference is at the default value, the pop-up menu shows an empty
time instead of initializing to the default item being the one shown.
If the preference is set to a non-default value whether by the menu
itself previously or via about:config, the menu is properly
initialized to show the item that reflects the non-default preference
What do I need to do to make the default case work?
Re: Making a pop-up menu reflect a preference, even the default value
On Thu, Sep 19, 2013 at 1:00 AM, Neil <[hidden email]> wrote:
> Henri Sivonen wrote:
>> <preference id="intl.charset.fallback.override"
>> name="intl.charset.fallback.override" type="wstring"/>
> wstring is a localised string, if your preference is a simple string then
> just use string.