Perhaps the accessibility code needs to ignore events when selected ==
false?
[email protected] wrote:
Hi Max,
I'd like your thoughts on this. I think there is a problem in
baselistitem. If setSelected() is called with false, the onselect and
onselected events are generated.
<method name="setSelected" args="s">
<![CDATA[
this.selected = s;
if (this.onselect.ready) this.onselect.sendEvent(this);
if (this.onselected.ready) this.onselected.sendEvent(this);
]]>
</method>
According to the docs:
onselect Event sent when the user makes a selection.
onselected Event sent when this item is selected.
I don't think either of these should be generated if this.selected is
false and this might explain some of the strange behavior in LPP-7594. I
will play with this tomorrow.
Thanks!
Phil
--
Regards,
Max Carlson
OpenLaszlo.org