Hi Thomas,<div><br></div><div>Thanks for the bug report. I&#39;ve added you as a developer to the jQueryMobile repository: <a href="http://ss3.gemstone.com/ss/jQueryMobile.html/">http://ss3.gemstone.com/ss/jQueryMobile.html/</a></div>
<div><br></div><div>... so feel free to add the fix. Another fix might be to modify the following:</div><div><br></div><div>JQMUserAgent&gt;&gt;userAgentString</div><div>   ^ userAgentString ifNil: [ userAgentString := &#39;&#39; ]</div>
<div><br></div><div>Then JQMUserAgent&gt;&gt;isIOS remains simply as it is.</div><div><br></div><div>At the moment I&#39;m in the process of updating jQueryMobile to support the latest version 1.1.1, however I&#39;ve noticed that the transitions don&#39;t appear as iPhone-like as 1.0.1. The solution appears to be to integrate something like: <a href="https://github.com/watusi/jquery.mobile.simultaneous-transitions">https://github.com/watusi/jquery.mobile.simultaneous-transitions</a> - though I&#39;ve yet to complete that work. The upshot is that if you&#39;re using an old version - probably best to stick to that at the moment. </div>
<div><br></div><div>Thanks again for the bug fix</div><div><br></div><div>Nick</div><div><br><div class="gmail_quote">On 12 September 2012 10:27, Tomas Kukol <span dir="ltr">&lt;<a href="mailto:tomas.kukol@gmail.com" target="_blank">tomas.kukol@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi list.<br>
<br>
I have found a small bug in JQueryMobile class JQMUserAgent. Sometimes<br>
a user agent string is not filled and the code throws an exception.<br>
<br>
Can you change the code FROM:<br>
<br>
JQMUserAgent&gt;&gt;isIOS<br>
        ^ #(&#39;iPhone&#39; &#39;iOS&#39; &#39;iPod&#39; &#39;iPad&#39;)<br>
                anySatisfy: [ :each |<br>
                        self userAgentString includesSubString: each ]<br>
<br>
<br>
TO this version?<br>
<br>
JQMUserAgent&gt;&gt;isIOS<br>
        ^ #(&#39;iPhone&#39; &#39;iOS&#39; &#39;iPod&#39; &#39;iPad&#39;)<br>
                anySatisfy: [ :each | self userAgentString isEmptyOrNil not and: [<br>
self userAgentString includesSubString: each ] ]<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</blockquote></div><br></div>