weitsai / domsnitch

Automatically exported from code.google.com/p/domsnitch
Apache License 2.0
0 stars 0 forks source link

Being redirected to default page #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I click a link with a URL of #, and an onclick javascript call, I get 
redirected to the default page

What steps will reproduce the problem?
1. Go to http://www.mysite.com/reports.aspx
2. Click a link with an href of "#" and an onclick event.

What is the expected output? What do you see instead?
I expect my javascript to run and update the page.  Instead I end up redirected 
to http://www.mysite.com/#

What version of the product are you using? On what operating system?
Windows 7 Professional, Google Chrome 12.0.742.100, domsnitch 0.706.

Other information - Other javascript events (an onchange on a dropdown and a 
doubleclick on a span tag) don't cause the same behavior.  If I take the 
href="#" out of the anchor tag, it just reloads the current page.

Original issue reported on code.google.com by one...@gmail.com on 22 Jun 2011 at 4:48

GoogleCodeExporter commented 9 years ago

Original comment by r...@r-n-d.org on 22 Jun 2011 at 6:24