can't set a default value on a menulist which is persistant

UNCONFIRMED
Unassigned

Status

()

UNCONFIRMED
7 years ago
7 years ago

People

(Reporter: gilles.orsini, Unassigned)

Tracking

7 Branch
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20100101 Firefox/8.0
Build ID: 20111104165243

Steps to reproduce:

I start thunderbird, a menulist is persistant and has a default value.

See https://forums.mozilla.org/addons/viewtopic.php?f=12&t=4346

<menulist id="taskmail-viewFilter" persist="value">
     <menupopup style="padding-top:10px">
        <menuitem label="mailViewFilter"       value="2"/>
        <menuitem label="folderViewFilter"     value="0"/>
        <menuitem label="subFolderViewFilter"  value="1" selected="selected"/>
        <menuitem label="allViewFilter"        value="3"/>
        <menuitem label="hotListViewFilter"    value="4"/>
     </menupopup>
  </menulist>


Actual results:

the current value of the menulist should be the default value.


Expected results:

The current value is the first one.
You need to log in before you can comment on or make changes to this bug.