<?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: InlineVan bug reproducable just with demo site and firebug</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/inlinevan-bug-reproducable-just-with-demo-site-and-firebug</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/inlinevan-bug-reproducable-just-with-demo-site-and-firebug/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on InlineVan bug reproducable just with demo site and firebug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/inlinevan-bug-reproducable-just-with-demo-site-and-firebug#p26302</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/inlinevan-bug-reproducable-just-with-demo-site-and-firebug#p26302</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>First of all - thank you.</p>
<p>If I remember I think this is fixed. I will check it again.</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 05 Apr 2012 13:14:48 +0300</pubDate>
        </item>
        <item>
        	<title>saul_page on InlineVan bug reproducable just with demo site and firebug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/inlinevan-bug-reproducable-just-with-demo-site-and-firebug#p26279</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/inlinevan-bug-reproducable-just-with-demo-site-and-firebug#p26279</guid>
        	        	<description><![CDATA[<p>Sorry typo should have read InlineNav...</p>
</p>
<p>I&#39;m not&#160;very good following&#160;javascript but I believe the issue is in the way the add new record code reuses the edit code to do the bulk of the work.&#160; The add code seems to use the extraparams feature to set the oper to add.&#160; Then calls the edit functionality.&#160; Theres some data overriding which overrides the edit oper with add.&#160; This extra param seems to hang around and nevers gets reset so when the edit code gets called normally again the override is still in place.</p>
<p>I&#39;m not 100% sure where the code should be fixed for now I&#39;ve just changed the following which seems to be working OK:</p>
</p>
<p>Line 9212:</p>
</p>
<p>if</p>
</p>
<p>oper = opers.oper;</p>
</p>
<p>o.editParams.extraparam = {};</p>
<p>}</p>
<p>o.editParams.extraparam[oper] = opers.addoper;</p>
<p>}</p>
</p>
<p>($("#"+$.jgrid.jqID(sr), "#"+$.jgrid.jqID($t.p.id) ).hasClass("jqgrid-new-row")) {var opers = $t.p.prmNames,if(!o.editParams.extraparam) {</p>
<p>else</p>
<p>{</p>
<p>// new code here</p>
<p>o.editParams.extraparam = {};</p>
<p>}</p>
</p>
<p>I&#39;m not suggesting this as a fix because it will probably break actual valid use of the extra param feature but I&#39;m not using that feature so it works for me.&#160; Hopefully&#160;a proper fix can be easily added to the next version.</p>
]]></description>
        	        	<pubDate>Mon, 02 Apr 2012 23:30:35 +0300</pubDate>
        </item>
        <item>
        	<title>saul_page on InlineVan bug reproducable just with demo site and firebug</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/inlinevan-bug-reproducable-just-with-demo-site-and-firebug#p26252</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/inlinevan-bug-reproducable-just-with-demo-site-and-firebug#p26252</guid>
        	        	<description><![CDATA[<p>Hi, first thanks for a great grid.&#160; I have found a potentially critical bug when using the InlineNav editing feature.</p>
</p>
<p>The problem I&#39;m seeing is that once you add a new record using the inline editing feature from the nav grid the "oper" parameter in the POST data&#160;is always set to "add" even after the record has been added and&#160;subsequently then "edit" different records. Its like it gets permanently set to "add"</p>
</p>
<p>I can see this behaviour using the inline nav editing demo and looking at the Post data in Firebug.</p>
</p>
<p>Reproduction case:</p>
<p>Navigate to:</p>
<p><a href="http://www.trirand.com/blog/jqgrid/jqgrid.html&#038;nbsp" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/jq" rel="nofollow">http://www.trirand.com/blog/jq</a>.....&#038;nbsp</a>; ( then select Row Editing (new) from NAV list, then InLineNavigator (new).</p>
</p>
<p>Open up firebug and monitor the POST data.</p>
</p>
<p>Add a new row and save&#160;&#160; - "oper" is "add" (correct)</p>
<p>Edit a different row and save - "oper" is "add" (incorrect should be "edit")</p>
</p>
<p>It also doesn&#39;t help if I reload the grid midway.</p>
</p>
<p>It would be great if&#160;to confirm wether this is a bug or if I&#39;ve misunderstood something.</p>
]]></description>
        	        	<pubDate>Thu, 29 Mar 2012 11:55:48 +0300</pubDate>
        </item>
</channel>
</rss>