[ 
https://issues.apache.org/jira/browse/WICKET-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651316#action_12651316
 ] 

Dipu C Seminlal commented on WICKET-1960:
-----------------------------------------

In the current trunk,  it's reverted back to 
container.style.zIndex=(Number(index)!=Number.NaN?Number(index)+1:index);  and 
it works,
but its working because some thing else is broken 

when the value of  index ='auto';
the expression  (Number(index)!=Number.NaN?Number(index)+1:index);  return NaN, 
this looks wrong to me it should be returning 'auto' 

for example if you run the following line in javascript console in firebug you 
will get NaN 
var index ='auto';(Number(index)!=Number.NaN?Number(index)+1:index)

if you run Number(index) it return NaN

but Number(index)!=Number.NaN yields true (looks wrong to me)

> AutoCompleteTextField - gives a type mismatch error on IE - version 
> wicket-1.4-rc1
> ----------------------------------------------------------------------------------
>
>                 Key: WICKET-1960
>                 URL: https://issues.apache.org/jira/browse/WICKET-1960
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.4-RC1
>            Reporter: Dipu C Seminlal
>             Fix For: 1.4-RC1
>
>         Attachments: wicket-autocomplete-patch.txt
>
>
> wicket-autocomplete.js
> function function showAutoComplete()
> line 291 container.style.zIndex=(!isNaN(Number(index))?Number(index)+1:index);
> looks like IE doesn't like big i in zIndex, IE seem to be be happy with 
> zindex 
> not sure if that's the correct way to resolve the issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to