<?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: removing partial modals if creation failed</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/removing-partial-modals-if-creation-failed</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/removing-partial-modals-if-creation-failed/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on removing partial modals if creation failed</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/removing-partial-modals-if-creation-failed#p5590</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/removing-partial-modals-if-creation-failed#p5590</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. The .empty() is not needed</p>
<p>Regard</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 25 Mar 2009 10:34:44 +0200</pubDate>
        </item>
        <item>
        	<title>gtdphp on removing partial modals if creation failed</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/removing-partial-modals-if-creation-failed#p5552</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/removing-partial-modals-if-creation-failed#p5552</guid>
        	        	<description><![CDATA[<p>Hi there, and thanks for jqGrid - a superb piece of software.</p>
<p>I notice that in <em>grid.inlinedit.js</em>, if the creation of a modal dialog goes awry, it can be left hanging around, when the substitute alert box is triggered.&#160; It&#39;s in lines 119-123, in v3.4.3.&#160; Can I suggest adding an extra line into the <strong>except </strong>section, as follows:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit4770' value='Select Code' data-codeid='sfcode4770' /></p>
<div class='sfcode' id='sfcode4770'>try {<br />&#160; info_dialog($.jgrid.errors.errcap,cv[1],$.jgrid.edit.bClose, $t.p.imgpath);<br />} catch (e) {<br />&#160; $("#info_dialog").remove().empty(); // &#60;--New line added here<br />&#160; alert(cv[1]);<br />}</div>
]]></description>
        	        	<pubDate>Tue, 24 Mar 2009 02:52:54 +0200</pubDate>
        </item>
</channel>
</rss>