<?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: C is undefined</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/c-is-undefined-1</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/c-is-undefined-1/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>henrikw on C is undefined</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/c-is-undefined-1#p18392</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/c-is-undefined-1#p18392</guid>
        	        	<description><![CDATA[<p>hi!</p>
<p>When loading my grid with data, I get an error for every row loaded. Somewhere in the minified code (not sure where to get the original js code, sorry about this) you can find the code snippet shown below. As you can see the variable C is used inside the try-statement but it is only initialized in some cases. It works since it is in a try-statement but it&#39;s ugly and my Mozilla debugger fires on it every time.</p>
<p>Please fix this unneccessary bug.</p>
</p>
<p>if  (s &#38;&#38; c.p.scroll) { a("&#62;div:first", o).css({ height: "auto"  }).children("div:first").css({ height: 0, display: "none" });  o.scrollTop = 0 }</p>
<div id="sb42-L116" class="sourceRow"><a class="sourceLine" target="_blank"> </a>}, y = function (o, s) { <br /><span style="color: #ff0000;">var  t, z, C, G; </span><br />if (typeof s === "function") <br />&#160;&#160;&#160; return s(o); t = o[s];</div>
<div id="sb42-L117" class="sourceRow "><a class="sourceLine" target="_blank"> </a>if (t === undefined) {</div>
<div id="sb42-L118" class="sourceRow "><a class="sourceLine" target="_blank">&#160;&#160;&#160; </a>if (typeof s ===  "string")</div>
<div id="sb42-L119" class="sourceRow "><a class="sourceLine" target="_blank">&#160;&#160;&#160;&#160;&#160;&#160;&#160; </a><span style="color: #ff0000;">C = s.split(".");</span></div>
<div id="sb42-L120" class="sourceRow "><a class="sourceLine" target="_blank"> </a>try {</div>
<div id="sb42-L121" class="sourceRow"><a class="sourceLine" target="_blank">&#160; </a>if (G = C.length)</div>
<div id="sb42-L122" class="sourceRow"><a class="sourceLine" target="_blank">&#160;&#160;&#160;&#160;&#160;&#160; </a>for (t = o; t &#38;&#38;  G--; ) {</div>
<div id="sb42-L123" class="sourceRow"><a class="sourceLine" target="_blank">&#160; &#160; &#160;&#160; </a><span style="color: #ff0000;">z = C.shift(); </span></div>
<div class="sourceRow">&#160;&#160;&#160;&#160;&#160;&#160; t = t[z]</div>
<div id="sb42-L124" class="sourceRow"><a class="sourceLine" target="_blank">&#160; </a>}</div>
<div id="sb42-L125" class="sourceRow"><a class="sourceLine" target="_blank"> </a>}</div>
<div id="sb42-L126" class="sourceRow"><a class="sourceLine" target="_blank"> </a>catch (H) {</div>
<div id="sb42-L127" class="sourceRow"><a class="sourceLine" target="_blank">&#160; </a>}</div>
<div id="sb42-L128" class="sourceRow"><a class="sourceLine" target="_blank">&#160; </a>}</div>
<div id="sb42-L129" class="sourceRow"><a class="sourceLine" target="_blank">&#160; </a>return t</div>
<div id="sb42-L130" class="sourceRow"><a class="sourceLine" target="_blank">&#160; </a>}, F = function (o, s, t, z,  C) {</div>
<div id="sb42-L131" class="sourceRow"><a class="sourceLine" target="_blank">&#160; </a>var G = new Date;  c.p.reccount = 0; if (a.isXMLDoc(o))</div>
<div class="sourceRow"></div>
<div class="sourceRow"></div>
]]></description>
        	        	<pubDate>Mon, 05 Jul 2010 15:32:50 +0300</pubDate>
        </item>
</channel>
</rss>