<?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: bugreport : safari reload fails</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails</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/bugreport-safari-reload-fails/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on bugreport : safari reload fails</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2424</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2424</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>At end of week I will publish the bug fix release.</p>
<p>There are also a lot of bugs fixed.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 09 Oct 2008 02:54:08 +0300</pubDate>
        </item>
        <item>
        	<title>jawadde on bugreport : safari reload fails</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2416</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2416</guid>
        	        	<description><![CDATA[<p>cool ! thanks !</p>
</p>
<p>I&#39;ll download the main jqGrid zipfile again to see how to integrate this, since I&#39;m not really confident about copy-pasting this bit of code into jquery.jqGrid.js myself &#160;(especially the&#160;combineIntoOne variable confuses me&#160;🙂</p>
]]></description>
        	        	<pubDate>Wed, 08 Oct 2008 13:44:43 +0300</pubDate>
        </item>
        <item>
        	<title>tony on bugreport : safari reload fails</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2393</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2393</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Finally after lot of testing I found a cross browser solutioin.</p>
<p>Here is the piece of code in jqGrid loader:</p>
<p>....</p>
<p>if (minver !== true) filename = pathtojsfiles+modules[i].incfile;<br />else filename = pathtojsfiles+modules[i].minfile;<br />if (combineIntoOne !== true) {<br />&#160;&#160; if(jQuery.browser.safari &#124;&#124; jQuery.browser.msie ) {<br />&#160;&#160;&#160;&#160; jQuery.ajax({url:filename,dataType:&#39;script&#39;, async:false, cache: true});<br />&#160;&#160; } else {<br />&#160; &#160;&#160;&#160; IncludeJavaScript(filename);<br />&#160;&#160; }<br />} else {<br />&#160;&#160;&#160;&#160; combinedInclude[combinedInclude.length] = filename;<br />}</p>
<p>................</p>
<p>Note the ajax call and not getScript</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 08 Oct 2008 02:46:02 +0300</pubDate>
        </item>
        <item>
        	<title>jawadde on bugreport : safari reload fails</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2356</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2356</guid>
        	        	<description><![CDATA[<blockquote>
<p>tony said:</p>
<p>Maybe a good solution is to add own ready with delay</p>
</blockquote>
<hr />
<div>
<blockquote>
<p>tony said:</p>
<p>Maybe a good solution is to add own ready with delay</p>
</blockquote>
<hr />
<p>I don&#39;t know : i&#39;m not such a good jQuery programmer, although i like ot play around with it a lot : - )</p>
</p>
<p>by the way : i forgot to compliment you on jqGrid : I like it A LOT and i&#39;m embedding it in our intranet application. I did 3 days of research on JQuery grid plugins, and jqGrid was the best !&#160;</p>
</div>
]]></description>
        	        	<pubDate>Mon, 06 Oct 2008 15:10:49 +0300</pubDate>
        </item>
        <item>
        	<title>tony on bugreport : safari reload fails</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2352</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2352</guid>
        	        	<description><![CDATA[<p>Maybe a good solution is to add own ready with delay</p>
]]></description>
        	        	<pubDate>Mon, 06 Oct 2008 14:44:40 +0300</pubDate>
        </item>
        <item>
        	<title>jawadde on bugreport : safari reload fails</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2351</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2351</guid>
        	        	<description><![CDATA[<blockquote>
<p>tony said:</p>
<p>Hello,</p>
<p>I will try another trick - to append the scripts in div&#160;</p>
<p>Regards</p>
</blockquote>
<hr />
<p>hm... i wonder if that will work : the issue is with safari (and IE) modifying the DOM properly, but only parsing the newly inserted scripts after doc.ready(). Must likely this will stay problematic even if those script elements are inserted elsewhere. My guess is that this is actually a document.ready() "bug", not a jqGrid bug ! Well, it&#39;s not a bug either i guess, just a problem on how browsers handle this.</p>
</p>
<p>I think the solution will be somewhere in this direction :</p>
</p>
<p><a href="http://docs.jquery.com/Ajax/jQuery.getScript" rel="nofollow" target="_blank"><a href="http://docs.jquery.com/Ajax/jQ" rel="nofollow">http://docs.jquery.com/Ajax/jQ</a>......getScript</a></p>
</p>
<p>dynamically load jqGrid in document.ready(). Of course, this is ugly since with jquery we&#39;re used NOT to have to init plugins</p>
]]></description>
        	        	<pubDate>Mon, 06 Oct 2008 14:35:56 +0300</pubDate>
        </item>
        <item>
        	<title>tony on bugreport : safari reload fails</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2350</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2350</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I will try another trick - to append the scripts in div&#160;</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Mon, 06 Oct 2008 14:25:59 +0300</pubDate>
        </item>
        <item>
        	<title>jawadde on bugreport : safari reload fails</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2349</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2349</guid>
        	        	<description><![CDATA[<p>the problem happens in ALL the demos, if you remove them from the tree structure ! This supports my theory : inside the tree, there is no problem with script loading followed immediately by a grid creation !</p>
</p>
<p>I did a small test in&#160;the exact same example.html&#160;: at $(document).ready(), start a 3 sec timer which then invokes the code as it is now inside doc.ready()</p>
</p>
<p>guess what ? It works !</p>
</p>
<p>So the issue is now narrowed down to : modifying the DOM to insert &#60;script&#62; elements will parse those scripts AFTER document.ready(), which obviously noodles any code inside doc.ready that depends on those scripts</p>
</p>
<p>hurray ! We&#39;re getting there !</p>
]]></description>
        	        	<pubDate>Mon, 06 Oct 2008 14:22:19 +0300</pubDate>
        </item>
        <item>
        	<title>jawadde on bugreport : safari reload fails</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2348</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2348</guid>
        	        	<description><![CDATA[<p>Yo Tony &#160;!</p>
</p>
<p>seemingly this is an old issue with safari :</p>
<p><a href="http://lists.apple.com/archives/web-dev/2004/Nov/msg00107.html" rel="nofollow" target="_blank"><a href="http://lists.apple.com/archive" rel="nofollow">http://lists.apple.com/archive</a>.....00107.html</a> (this is from 2004 !!!)</p>
<p>this guy did more testing :</p>
<p><a href="http://www.webdeveloper.com/forum/archive/index.php/t-117817.html" rel="nofollow" target="_blank"><a href="http://www.webdeveloper.com/fo" rel="nofollow">http://www.webdeveloper.com/fo</a>.....17817.html</a></p>
</p>
<p>I&#39;ve done some inspecting, and the js files are properly attached to the head element, so this is NOT the problem. My guess is that the files are indeed added to the DOM, but they are parsed AFTER $(document).ready !!!</p>
]]></description>
        	        	<pubDate>Mon, 06 Oct 2008 14:11:58 +0300</pubDate>
        </item>
        <item>
        	<title>tony on bugreport : safari reload fails</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2347</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2347</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Maybe this is the problem, but if you open the demos and reloads all</p>
<p>is OK - right?</p>
<p>I will investigate this.</p>
<p>Thank you&#160;</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 06 Oct 2008 14:03:08 +0300</pubDate>
        </item>
        <item>
        	<title>jawadde on bugreport : safari reload fails</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2346</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2346</guid>
        	        	<description><![CDATA[<p>allllllllllllright. After a solid hour of scratching my head, I narrowed down the issue to one single problem : in jquery.jqGrid.js there is a mechanism for automatically adding javascript files to the HTML file that includes jquery.jqGrid.js</p>
</p>
<p>well, this one breaks under IExplorer 6 and safari. If I add the needed js files myself, and disable the loop</p>
<p><span style="white-space: pre;"> </span>&#160;for(var i=0;i&#60;modules.length; i++)</p>
</p>
<p>everything is swell !</p>
<p>For now, I can continue manually, but I guess it might be usefull for someone to fix this</p>
</p>
<div></div>
]]></description>
        	        	<pubDate>Mon, 06 Oct 2008 13:57:59 +0300</pubDate>
        </item>
        <item>
        	<title>tony on bugreport : safari reload fails</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2345</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2345</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Sorry do not test the link that you write.</p>
<p>Yes there is problem. I will see what is this.</p>
<p>Thank you</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 06 Oct 2008 13:57:57 +0300</pubDate>
        </item>
        <item>
        	<title>tony on bugreport : safari reload fails</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2344</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2344</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Just now I write this from Safari 3 Win. I do not see any error when testing</p>
<p>the demos</p>
<p>I&#39;m sorry, but I do not have Mac to test.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 06 Oct 2008 13:51:36 +0300</pubDate>
        </item>
        <item>
        	<title>jawadde on bugreport : safari reload fails</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2343</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2343</guid>
        	        	<description><![CDATA[<p>the same problem appears on Safari Win32</p>
<p>&#160;but it semes that IExplorer 6.0 won&#39;t display the file either</p>
<p>firefox seems to be good on both platforms</p>
]]></description>
        	        	<pubDate>Mon, 06 Oct 2008 13:49:41 +0300</pubDate>
        </item>
        <item>
        	<title>jawadde on bugreport : safari reload fails</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2342</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bugreport-safari-reload-fails#p2342</guid>
        	        	<description><![CDATA[<p>in Safari 3. 1.2 on MacOS X 10.5.5, go to the jqGrid sample file :</p>
<p><a href="http://trirand.com/jqgrid/example.html" rel="nofollow" target="_blank">http://trirand.com/jqgrid/example.html</a></p>
<p>then hit reload (press Cmd+R) and hte file goes blank. Hit Cmd-Opt-C for console, and you get this bizarre erorr on line 80:</p>
<p>Value undefined (result of expression jQuery("#list2").jqGrid) is not object.</p>
<p><div></div>
<div>On FireFox3 / Mac this works fine. I&#39;m now downloading Safari Win32 and will repost my findings here.</div>
</p>
<p><a class="console-message-url" target="_blank"></a><a class="console-message-url" target="_blank"></a></p>
]]></description>
        	        	<pubDate>Mon, 06 Oct 2008 13:28:18 +0300</pubDate>
        </item>
</channel>
</rss>