You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Steen Elvstrøm (JIRA)" <ji...@apache.org> on 2009/02/13 12:27:59 UTC
[jira] Commented: (WICKET-1960) AutoCompleteTextField - gives a
type mismatch error on IE - version wicket-1.4-rc1
[ https://issues.apache.org/jira/browse/WICKET-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673221#action_12673221 ]
Steen Elvstrøm commented on WICKET-1960:
----------------------------------------
What happens when you change
container.style.zIndex=(!isNaN(Number(index))?Number(index)+1:index);
to
container.style.zindex=(!isNaN(Number(index))?Number(index)+1:index);
is that you define a new member, called 'zindex', on the style object and hence won't get the type mismatch error.
I think the correct solution would be something like this:
container.style.zIndex = isNaN(index) ? 20 : index;
assuming the z-index should be the same as the parent z-index. If the parent index is NaN a random number >1
should be assigned.
> 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.