<?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: successfunc or succesfunc??</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/successfunc-or-succesfunc</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/successfunc-or-succesfunc/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on successfunc or succesfunc??</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/successfunc-or-succesfunc#p23291</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/successfunc-or-succesfunc#p23291</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The problem is fixed in GitHub:</p>
<p><a href="https://github.com/tonytomov/jqGrid/commit/de9d22a39056f2abfe6aed2785ce4768f68c62c2" rel="nofollow" target="_blank">https://github.com/tonytomov/jqGrid/commit/de9d22a39056f2abfe6aed2785ce4768f68c62c2</a></p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 23 May 2011 20:15:59 +0300</pubDate>
        </item>
        <item>
        	<title>baltie on successfunc or succesfunc??</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/successfunc-or-succesfunc#p23287</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/successfunc-or-succesfunc#p23287</guid>
        	        	<description><![CDATA[<p>I had the same problem, and solved it likewise.</p>
<p>There&#39;s also a bug in the editRow settings array. The name for the restoreAfterError entry in the settings array&#160;should be "restoreAfterError", not "restoreAfterErorr". As it is, the afterrestorefunc-function is never called, and the grid ends up in a bad state if I return false in the success function. By changing the name to "restoreAfterError", everything works just as nicely as it did in 3.8.2. <img class="wp-smiley" src="/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" /></p>
<p>I hope these easy fixes&#160;can be included in the next version so I don&#39;t have to patch this myself in the future. <img class="wp-smiley" src="/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" /></p>
]]></description>
        	        	<pubDate>Mon, 23 May 2011 15:29:59 +0300</pubDate>
        </item>
        <item>
        	<title>jcoo02 on successfunc or succesfunc??</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/successfunc-or-succesfunc#p23244</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/successfunc-or-succesfunc#p23244</guid>
        	        	<description><![CDATA[<p>Not sure if anyone else has encountered this but having recently switched to jqGrid 4.0.0 I have encountered an issue with the successfunc in the saverow function.</p>
<p>Ever since the upgrade my successfunc was no longer getting called, and my task was not completing.</p>
<p>Having debugged through the jquery.jqGrid.src.js file I have discovered this line:</p>
<p>
<span style="font-family: Consolas; font-size: x-small;"><span style="font-family: Consolas; font-size: x-small;"></p>
<p></span></p>
<p></span></p>
<p><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;">8295: if</span></span></span><span style="font-family: Consolas; font-size: x-small;"><span style="font-family: Consolas; font-size: x-small;">( $.isFunction(o.succesfunc)) { ret = o.succesfunc.call($t, res);}</span></span></p>
<p><span style="font-family: Consolas; font-size: x-small;"></span>&#160;</p>
<p><span style="font-family: Consolas; font-size: x-small;"><span style="font-family: Consolas; font-size: x-small;">It is checking if o.succesfunc is a function and if so, using it as the next step in the process. The only problem being that o.succesfunc does not exist so it will never be true. The o element contains o.successfunc (which in my case is a valid function.) Everything began to run fine once I changed the line to:</span></span></p>
<p><span style="font-family: Consolas; font-size: x-small;"><span style="font-family: Consolas; font-size: x-small;"><span style="font-family: Consolas; font-size: x-small;"><span style="font-family: Consolas; font-size: x-small;"></p>
<p></span></p>
<p></span></span></span></p>
<p><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;"><span style="font-family: Consolas; color: #0000ff; font-size: x-small;">if</span></span></span><span style="font-family: Consolas; font-size: x-small;"><span style="font-family: Consolas; font-size: x-small;">( $.isFunction(o.successfunc)) { ret = o.successfunc.call($t, res);}</span></span></p>
<p><span style="font-family: Consolas; font-size: x-small;"><span style="font-family: Consolas; font-size: x-small;"></p>
<p></span></p>
<p></span></p>
]]></description>
        	        	<pubDate>Thu, 19 May 2011 12:03:45 +0300</pubDate>
        </item>
</channel>
</rss>