I am loading a panel by AJAX call
I tried to cancel the select event by calling
e.preventDefault();
I got a stack overflow
[UPDATE]
I figured out that I got this error because my underlying ajax url was null.!!!
However, I can't prevent the panel from being opened even I cancelled the event