<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: improving error handling if error handler of $.ajax</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/improving-error-handling-if-error-handler-of-ajax</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/bugs/improving-error-handling-if-error-handler-of-ajax/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on improving error handling if error handler of $.ajax</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/improving-error-handling-if-error-handler-of-ajax#p26879</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/improving-error-handling-if-error-handler-of-ajax#p26879</guid>
        	        	<description><![CDATA[<p>Hello Oleg,</p>
<p>Added.</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Sun, 01 Jul 2012 13:54:37 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on improving error handling if error handler of $.ajax</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/improving-error-handling-if-error-handler-of-ajax#p26874</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/improving-error-handling-if-error-handler-of-ajax#p26874</guid>
        	        	<description><![CDATA[<p>Hello Tony,</p>
<p>the current code of jqGrid use in different way the <strong>error</strong> handle of <strong>$.ajax</strong>. The form editing module uses <strong>data.statusText</strong> (see <a href="https://github.com/tonytomov/jqGrid/blob/v4.4.0/js/grid.formedit.js#L717" target="_blank">here</a> or <a href="https://github.com/tonytomov/jqGrid/blob/v4.4.0/js/grid.formedit.js#L1622" target="_blank">here</a> as examples) and inline editing use <strong>res.responseText</strong> (see <a href="https://github.com/tonytomov/jqGrid/blob/v4.4.0/js/grid.inlinedit.js#L315" target="_blank">here</a>&#160;and <a href="https://github.com/tonytomov/jqGrid/blob/v4.4.0/js/grid.inlinedit.js#L317" target="_blank">here</a>).</p>
<p>In case of cross-domain errors for example the <strong>responseText</strong> property will be not set and "undefined" text will be displayed. Probebly one can better change <strong>res.responseText</strong>&#160;to something like <strong>res.responseText &#124;&#124; </strong><strong>res.</strong><strong>statusText</strong>?</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Sat, 30 Jun 2012 16:11:14 +0300</pubDate>
        </item>
</channel>
</rss>