Hi Thomas,<div><br></div><div>Thanks for the bug report. I'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>>userAgentString</div><div> ^ userAgentString ifNil: [ userAgentString := '' ]</div>
<div><br></div><div>Then JQMUserAgent>>isIOS remains simply as it is.</div><div><br></div><div>At the moment I'm in the process of updating jQueryMobile to support the latest version 1.1.1, however I've noticed that the transitions don'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've yet to complete that work. The upshot is that if you'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"><<a href="mailto:tomas.kukol@gmail.com" target="_blank">tomas.kukol@gmail.com</a>></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>>isIOS<br>
^ #('iPhone' 'iOS' 'iPod' 'iPad')<br>
anySatisfy: [ :each |<br>
self userAgentString includesSubString: each ]<br>
<br>
<br>
TO this version?<br>
<br>
JQMUserAgent>>isIOS<br>
^ #('iPhone' 'iOS' 'iPod' 'iPad')<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>