Closed Bug 305092 Opened 19 years ago Closed 19 years ago

XUL - no 'oncommand' event if button in a listbox

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: a.herz, Unassigned)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8b3) Gecko/20050712 Firefox/1.0+
Build Identifier: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8b3) Gecko/20050712 Firefox/1.0+

The button never receives any event if I insert them in
a listbox.

same behaviour with
 -xul:description
 -xul:image


Reproducible: Always

Steps to Reproduce:
1. load example document in firefox 1+
2. click on textbox -> event open a messagebox
3. click on the button -> NO event



Expected Results:  
oncommand or onclick event should forwarded to any element in a Listbox
You need to use 
  <listitem allowevents="true">
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
It works.

...but for the xul:textbox it works without the 
allowevents="true" property.

It is inconsistent

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: