You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Shailesh (JIRA)" <ji...@apache.org> on 2008/10/30 16:47:44 UTC
[jira] Created: (WICKET-1906) AutocompleteTextField throws
javascript error Object Required
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 <BR>
Line 304: if(element.firstChild && element.firstChild.childNodes) <BR>
<BR>
However in function render() we are not having any checks <BR>
Line 389: var node=menu.firstChild.childNodes[0]; <BR>
<BR>
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] Resolved: (WICKET-1906) AutocompleteTextField throws
javascript error Object Required
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-1906.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.4-RC2
1.3.6
Assignee: Igor Vaynberg
peter, awesome, thanks!
> 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
> Assignee: Igor Vaynberg
> Priority: Minor
> Fix For: 1.3.6, 1.4-RC2
>
> Attachments: screenshot-1.jpg, wicket-1906.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> In wicket-autocomplete.js "function doUpdateChoices(resp)" has the check <BR>
> Line 304: if(element.firstChild && element.firstChild.childNodes) <BR>
> <BR>
> However in function render() we are not having any checks <BR>
> Line 389: var node=menu.firstChild.childNodes[0]; <BR>
> <BR>
> 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] Updated: (WICKET-1906) AutocompleteTextField throws
javascript error Object Required
Posted by "Shailesh (JIRA)" <ji...@apache.org>.
[ 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 <BR>
> Line 304: if(element.firstChild && element.firstChild.childNodes) <BR>
> <BR>
> However in function render() we are not having any checks <BR>
> Line 389: var node=menu.firstChild.childNodes[0]; <BR>
> <BR>
> 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] Updated: (WICKET-1906) AutocompleteTextField throws
javascript error Object Required
Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Ertl updated WICKET-1906:
-------------------------------
Attachment: wicket-1906.patch
Ok, Igor, I really was bored so here's the patch ... :-)
I double-checked in Firefox and everything seems alright.
> 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, wicket-1906.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> In wicket-autocomplete.js "function doUpdateChoices(resp)" has the check <BR>
> Line 304: if(element.firstChild && element.firstChild.childNodes) <BR>
> <BR>
> However in function render() we are not having any checks <BR>
> Line 389: var node=menu.firstChild.childNodes[0]; <BR>
> <BR>
> 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.