pkdevbox / iui

Automatically exported from code.google.com/p/iui
MIT License
0 stars 0 forks source link

IUI performs AJAX calls on javascript URLs #301

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add a link such as <a onclick="return doSomething();">Hello</a>
2. Click on the link and step in the debugger.

Expected:
This link has no href, so IUI should return immediately.

Actual:
IUI calls showPageByHref() with an empty string for the URL, which calls ajax() 
with the empty string.

Original issue reported on code.google.com by san0f...@gmail.com on 22 Sep 2011 at 10:43

GoogleCodeExporter commented 8 years ago
I added a test document that reproduces the error:
http://code.google.com/p/iui/source/detail?r=5a7023b375394eaf59de4ae4ae95675fb04
08520

Original comment by msgilli...@gmail.com on 25 Sep 2011 at 7:51

GoogleCodeExporter commented 8 years ago
A fix has been committed to source control:
http://code.google.com/p/iui/source/detail?r=7a378a4993a4efe84a34c2b860e2d99f925
838dc

Original comment by msgilli...@gmail.com on 25 Sep 2011 at 7:52