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 181: Use event.preventDefault in onClick handlers
1 person starred this issue and may be notified of changes. Back to list
Status:  Verified
Owner:  moo...@wwwendt.de
Closed:  Feb 2011


 
Reported by BET...@gmail.com, Feb 17, 2011
In dynatree 1.1 version there is a line with comment 

// Make sure that clicks stop, otherwise <a href='#'> jumps to the top
return false;

This will stop event propagation completely, but you just want to disable default link behaviour, so event.preventDefault() should be used instead of return false;

The same for _onKeydown
Feb 17, 2011
Project Member #1 moo...@wwwendt.de
(No comment was entered for this change.)
Status: Accepted
Owner: moo...@wwwendt.de
Labels: Milestone-Release1.1.1
Feb 17, 2011
Project Member #2 moo...@wwwendt.de
This issue was closed by revision r465.
Status: Fixed
Jul 17, 2012
Project Member #3 moo...@wwwendt.de
considered verified
Jul 17, 2012
Project Member #4 moo...@wwwendt.de
(No comment was entered for this change.)
Status: Verified

Powered by Google Project Hosting