[jira] Updated: (WICKET-1906) AutocompleteTextField throws javascript error Object Required

2008-10-30 Thread Shailesh (JIRA)

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

Shailesh updated WICKET-1906:
-

Attachment: screenshot-1.jpg

> AutocompleteTextField throws javascript error Object Required
> -
>
> Key: WICKET-1906
> URL: https://issues.apache.org/jira/browse/WICKET-1906
> Project: Wicket
>  Issue Type: Bug
>  Components: wicket-extensions
>Affects Versions: 1.3.4
> Environment: IE6
>Reporter: Shailesh
>Priority: Minor
> Attachments: screenshot-1.jpg
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> In wicket-autocomplete.js "function doUpdateChoices(resp)" has the check 
> Line 304:  if(element.firstChild && 
> element.firstChild.childNodes) 
> 
> However in function render() we are not having any checks 
> Line 389: var node=menu.firstChild.childNodes[0]; 
> 
> which is causing "Object required" error on Line 389.

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



[jira] Created: (WICKET-1906) AutocompleteTextField throws javascript error Object Required

2008-10-30 Thread Shailesh (JIRA)
AutocompleteTextField throws javascript error Object Required
-

 Key: WICKET-1906
 URL: https://issues.apache.org/jira/browse/WICKET-1906
 Project: Wicket
  Issue Type: Bug
  Components: wicket-extensions
Affects Versions: 1.3.4
 Environment: IE6
Reporter: Shailesh
Priority: Minor


In wicket-autocomplete.js "function doUpdateChoices(resp)" has the check 
Line 304:  if(element.firstChild && 
element.firstChild.childNodes) 

However in function render() we are not having any checks 
Line 389:   var node=menu.firstChild.childNodes[0]; 

which is causing "Object required" error on Line 389.


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



[jira] Commented: (WICKET-1504) AutoCompleteTextField - javascript error "type mismatch" in line 227 in IE

2008-10-29 Thread Shailesh (JIRA)

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

Shailesh commented on WICKET-1504:
--

I am using wicket-extensions v 1.3.5 and see the javascript "Type Mismatch" 
error on Line 287 of wicket-autocomplete.js
 This error comes on IE6.0 only. Firefox works ok.

> AutoCompleteTextField - javascript error "type mismatch" in line 227 in IE
> --
>
> Key: WICKET-1504
> URL: https://issues.apache.org/jira/browse/WICKET-1504
> Project: Wicket
>  Issue Type: Bug
>  Components: wicket-extensions
>Affects Versions: 1.3.3
> Environment: IE 6.0
>Reporter: Niels Bo
> Fix For: 1.3.4, 1.4-M1
>
>
> I just swithed from 1.3.2 to 1.3.3 and that resultet in a javascript error 
> "type mismatch" in line 227, 
> wich is this line in wicket-autocomplete.js: 
> menu.style.zIndex=index=="auto"?index:Number(index)+1;
> Only in IE (6.0) - firefox works fine. 

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