What you are probably detecting is not just the double click event but a
second click event that is delayed enough from the original click to cause
a new click event

so what I propose is to identify if you are currently running the click
handler then either stop() the 2nd event or return inside the handler




Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com


On Fri, Mar 15, 2013 at 4:38 AM, Maciej Zaleski <mzjadame...@gmail.com>wrote:

>
> Ok, seems to be fixed in about 80%.
>>
>    I added line ondblclick = "javascript:location.reload()" to my div,
>     and every time user is doubleclicking on menu, page doesn't break but
> its being refreshed instead.
> It's not perfect solution but it works. If u have better one , plese write.
>
>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Prototype & script.aculo.us" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to prototype-scriptaculous+unsubscr...@googlegroups.com.
> To post to this group, send email to
> prototype-scriptaculous@googlegroups.com.
> Visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prototype-scriptaculous+unsubscr...@googlegroups.com.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
Visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to