My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 93: Checkbox click doesn't work on FF 2
1 person starred this issue and may be notified of changes. Back to list
Status:  Verified
Owner:  moo...@wwwendt.de
Closed:  May 2009


 
Project Member Reported by moo...@wwwendt.de, Apr 19, 2009
Expander click only works on top level

Analysis: 
    onClick fails, 
because 
    $(event.target).hasClass(this.tree.options.classNames.expander) fails
because 
    event.target points to the outer node span, not the expander span

Solution(?)
    if FF2: get span from clickCoords
May 8, 2009
Project Member #1 moo...@wwwendt.de
Proposed solution, thanks to Jochen Topf:

Problem ist wohl, dass der
span leer ist und FF2 den dann nicht "berücksichtigt" beim Event
Handling. Nach etwas rumprobieren habe ich jetzt in den checkbox span
einen Punkt (.) reingetan und im CSS font-size:0 eingestellt. Damit tut
es jetzt im FF2, FF3 und IE und ich sehe nirgendswo den Punkt. Safari
hab ich nicht probiert.

May 8, 2009
Project Member #2 moo...@wwwendt.de
(No comment was entered for this change.)
Labels: Milestone-Release0.5
May 28, 2009
Project Member #3 moo...@wwwendt.de
FF2 ignores empty spans, when generating events (returning the parent span instead.

A new function dtnode.getEventTargetType(event) was created, that will return the
correct type, even for FF2.
Status: Fixed
Jul 17, 2012
Project Member #4 moo...@wwwendt.de
considered verified
Status: Verified

Powered by Google Project Hosting