You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Gerolf Seitz (JIRA)" <ji...@apache.org> on 2008/05/08 20:03:55 UTC

[jira] Resolved: (WICKET-1594) AutoCompleteTextField Throwing Out a TypeError in IE6/IE7

     [ https://issues.apache.org/jira/browse/WICKET-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerolf Seitz resolved WICKET-1594.
----------------------------------

    Resolution: Duplicate

see WICKET-1504, fixed in 1.3.4 adn 1.4-M1

> AutoCompleteTextField Throwing Out a TypeError in IE6/IE7
> ---------------------------------------------------------
>
>                 Key: WICKET-1594
>                 URL: https://issues.apache.org/jira/browse/WICKET-1594
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-extensions
>    Affects Versions: 1.3.3
>         Environment: IE6/IE7
>            Reporter: Andy Chu
>
> Wicket 1.3.3. fixed many bugs of AutoCompleteTextField. However, it may induce some new problems:
> I create a very simple page only containing an AutoCompleteTextField and visit the page using IE6/IE7/FF. I found that IE will prompt me a javascript  TypeError but FF doesn't .
> The TypeError is thrown by the following statement in the showAutoComplete method when zIndex is assigned to "auto":
> menu.style.zIndex = index=="auto"?index:Number(index)+1;
> I guess IE may not allow us to assign "auto" to zIndex but in FF.  However if I change the statement into the following one, everything works fine.
> menu.style.zIndex = index=="auto"?0:Number(index)+1;
> Because I do not completely understand wicket-autocomplete.js,  I can not make sure if this modification will bring up another bug. Hope can get the answer from here.

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