A quick read through the source of 1.6 gave me the answer. Apparently  
there is something hinky about the extension of the Form object in  
Mobile Safari. In the first block (Browser:) I added this line at the  
end of the array:

     MobileSafari: !!navigator.userAgent.match(/iPhone.*Mobile.*Safari/)

And then right before var Class... I added this:

if (Prototype.Browser.MobileSafari)
   Prototype.BrowserFeatures.SpecificElementExtensions = false;

And presto! It all just works. I have no idea why, and would  
appreciate a word from one of the weezards on this list about what  
this means exactly.

Thanks,

Walter

On Sep 30, 2007, at 3:55 PM, Gareth Evans wrote:

> I think the number of people developing for iPhone with prototype  
> is probably the reason due to the lack of replies.
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to