Warning: DblClick makes it impossible to override default behavior of links with return false;
solipsist - February 20, 2007 - 19:35
| Project: | Double Click |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Be aware that if you choose to use this function you will no longer be able to override the default behavior for links (that is, request the URL referenced by the href) in Firefox by using a JS event handler that returns false or that cancels the event bubble. Doubleclick forces the default behavior of links. It took me serious time to troubleshoot this, hopefully this note might save someone else precious time. Apparently it only happens in Fx, not in Safari, IE6 or IE7.

#1
I belive this has been fixed in the 1.x-dev version. The Drupal.dblClick.clicker function now exits if the oldclick function returns false.
JacobWG
#2
Automatically closed -- issue fixed for two weeks with no activity.