autocomplete fix for IE6 and IE8
--------------------------------
Key: WICKET-2455
URL: https://issues.apache.org/jira/browse/WICKET-2455
Project: Wicket
Issue Type: Bug
Components: wicket-extensions
Reporter: Niels Bo
Priority: Minor
The latest version does not position the autocomplete dropdown correctly in
IE6,
and the 1.3.6 does not do it in IE8.
I found that the following is working in both IE6 and IE8
function showAutoComplete(){
....
try {
//Works for most browsers except for IE6 where it throws a type
mismatch error
menu.style.zIndex=index=="auto"?index:Number(index)+1;
} catch (err) {
//This works in IE6 but is no good it other browsers
menu.style.zIndex=(Number(index)!=Number.NaN?Number(index)+1:index);
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.