[jira] Updated: (WICKET-1906) AutocompleteTextField throws javascript error Object Required
[ 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 > 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] Updated: (WICKET-1906) AutocompleteTextField throws javascript error Object Required
[ 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.