<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Cancel dojo XHR in progress</title>
	<atom:link href="http://www.mike-griffith.com/blog/2008/09/cancel-dojo-xhr-in-progress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mike-griffith.com/blog/2008/09/cancel-dojo-xhr-in-progress/</link>
	<description>on software, testing, and the web.</description>
	<lastBuildDate>Wed, 01 Sep 2010 18:47:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ashutosh Joshi</title>
		<link>http://www.mike-griffith.com/blog/2008/09/cancel-dojo-xhr-in-progress/comment-page-1/#comment-5611</link>
		<dc:creator>Ashutosh Joshi</dc:creator>
		<pubDate>Thu, 03 Jun 2010 10:37:51 +0000</pubDate>
		<guid isPermaLink="false">http://bikegriffith.webfactional.com/blog/?p=27#comment-5611</guid>
		<description>I think this this must be...

if(response.dojoType == &quot;cancel&quot;){
                                //The request was canceled by some other JavaScript code.
                                console.debug(&quot;Request canceled.&quot;);
                        }else if(response.dojoType == &quot;timeout&quot;){
                                //The request took over 5 seconds to complete.
                                console.debug(&quot;Request timed out.&quot;);
                        }else{
                                //Some other error happened.
                                console.error(response);
                        }</description>
		<content:encoded><![CDATA[<p>I think this this must be&#8230;</p>
<p>if(response.dojoType == &#8220;cancel&#8221;){<br />
                                //The request was canceled by some other JavaScript code.<br />
                                console.debug(&#8220;Request canceled.&#8221;);<br />
                        }else if(response.dojoType == &#8220;timeout&#8221;){<br />
                                //The request took over 5 seconds to complete.<br />
                                console.debug(&#8220;Request timed out.&#8221;);<br />
                        }else{<br />
                                //Some other error happened.<br />
                                console.error(response);<br />
                        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.mike-griffith.com/blog/2008/09/cancel-dojo-xhr-in-progress/comment-page-1/#comment-5503</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Wed, 19 May 2010 04:52:35 +0000</pubDate>
		<guid isPermaLink="false">http://bikegriffith.webfactional.com/blog/?p=27#comment-5503</guid>
		<description>if you specify 
dojo.xhrGet({
... failOk: true ...
you get rid of the error log that otherwise occurs;
the error: function... will be executed anyways</description>
		<content:encoded><![CDATA[<p>if you specify<br />
dojo.xhrGet({<br />
&#8230; failOk: true &#8230;<br />
you get rid of the error log that otherwise occurs;<br />
the error: function&#8230; will be executed anyways</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred Böhni</title>
		<link>http://www.mike-griffith.com/blog/2008/09/cancel-dojo-xhr-in-progress/comment-page-1/#comment-3230</link>
		<dc:creator>Fred Böhni</dc:creator>
		<pubDate>Thu, 18 Mar 2010 14:59:23 +0000</pubDate>
		<guid isPermaLink="false">http://bikegriffith.webfactional.com/blog/?p=27#comment-3230</guid>
		<description>Thanks a bunch, exactly what I was looking for.
(Except that the function was hiding somewhere deep, but &quot;args.dojoType==&#039;cancel&#039;&quot; fixed it :)
FB</description>
		<content:encoded><![CDATA[<p>Thanks a bunch, exactly what I was looking for.<br />
(Except that the function was hiding somewhere deep, but &#8220;args.dojoType==&#8217;cancel&#8217;&#8221; fixed it <img src='http://www.mike-griffith.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
FB</p>
]]></content:encoded>
	</item>
</channel>
</rss>
