Hi,  can somebody tell me if this bug has been fixed ? 


SourceForge.net wrote:
> 
> Bugs item #1567849, was opened at 2006-09-29 17:55
> Message generated for change (Tracker Item Submitted) made by Item
> Submitter
> You can respond by visiting: 
> https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1567849&group_id=119783
> 
> Please note that this message will contain a full copy of the comment
> thread,
> including the initial issue submission, for this request,
> not just the latest update.
> Category: core
> Group: 1.2
> Status: Open
> Resolution: None
> Priority: 5
> Submitted By: Paolo Di Tommaso (paolodt)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: Ajax doesn't work on IE7 RC1
> 
> Initial Comment:
> 
> Ajax call fails on Internet Explore release candidate 1. 
> 
> The browser reports the following error message:
> 'DOMParser' is undefined.
> 
> The problem arise in the following javascript fragment
> from "wicket-ajax.js"
> 
> if (window.XMLHttpRequest) {
>   var parser = new DOMParser();
>   xmldoc = parser.parseFromString(responseAsText,
> "text/xml");
> }
> else 
> if (window.ActiveXObject) {
>   xmldoc = transport.responseXML;
> }
> 
> On IE7 the condition 'window.XMLHttpRequest' is valid
> but the object DOMParser does not exists, so the code
> will fail. 
> 
> 
> I've fixed inverting the if statement like the following: 
> 
> 
> if (window.ActiveXObject) {
>   xmldoc = transport.responseXML;
> }
> else
> if (window.XMLHttpRequest) {
>   var parser = new DOMParser();
>   xmldoc = parser.parseFromString(responseAsText,
> "text/xml");
> }
> 
> 
> 
> 
> Regards, 
> 
> Paolo Di Tommaso
> 
> 
> 
> 
> ----------------------------------------------------------------------
> 
> You can respond by visiting: 
> https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1567849&group_id=119783
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
> 
> 

-- 
View this message in context: 
http://www.nabble.com/--wicket-Bugs-1567849---Ajax-doesn%27t-work-on-IE7-RC1-tf2357712.html#a8099012
Sent from the Wicket - Dev mailing list archive at Nabble.com.

Reply via email to