Hi, we use prototype 1.6 in a Wicket web app, mainly for drag''n''drop. We find that Firefox 2 seems to modify (and break) the Javascript in prototype.js, while Firefox 3 leaves it alone. FF2 changes line 3989 (in 1.6.0) from document.write("<script id=__onDOMContentLoaded defer src=//:><\/ script>"); to document.write("<script id=__onDOMContentLoaded defer srci.e. it just cuts of a part. We can narrow the problem down to Firefox as it works with FF3 on the exact same page, same running instance. It seems I can''t be the first one to encounter this problem, but I couldn''t find anything about it. Thanks, Thomas --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Thomas, I use Prototype 1.6 with FF without trouble, FWIW. What''s the actual symptom you''re running into? Are you sure you''re using an unadulterated Prototype.js? -- T.J. Crowder tj / crowder software / com On Apr 25, 6:07 pm, Thomas Kappler <tkapp...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> Hi, > > we use prototype 1.6 in a Wicket web app, mainly for drag''n''drop. We > find that Firefox 2 seems to modify (and break) the Javascript in > prototype.js, while Firefox 3 leaves it alone. FF2 changes line 3989 > (in 1.6.0) from > document.write("<script id=__onDOMContentLoaded defer src=//:><\/ > script>"); > to > document.write("<script id=__onDOMContentLoaded defer src> i.e. it just cuts of a part. > > We can narrow the problem down to Firefox as it works with FF3 on the > exact same page, same running instance. > > It seems I can''t be the first one to encounter this problem, but I > couldn''t find anything about it. > > Thanks, > Thomas--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Have you tried 1.6.0.2? - kangax On Apr 25, 1:07 pm, Thomas Kappler <tkapp...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> Hi, > > we use prototype 1.6 in a Wicket web app, mainly for drag''n''drop. We > find that Firefox 2 seems to modify (and break) the Javascript in > prototype.js, while Firefox 3 leaves it alone. FF2 changes line 3989 > (in 1.6.0) from > document.write("<script id=__onDOMContentLoaded defer src=//:><\/ > script>"); > to > document.write("<script id=__onDOMContentLoaded defer src> i.e. it just cuts of a part. > > We can narrow the problem down to Firefox as it works with FF3 on the > exact same page, same running instance. > > It seems I can''t be the first one to encounter this problem, but I > couldn''t find anything about it. > > Thanks, > Thomas--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
On 25 Apr., 21:47, kangax <kan...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Have you tried 1.6.0.2?Hi kangax, unfortunately not, so far. In Wicket, Javascript libs are packaged into jars along with the Java classes needed to load them, and wicketstuff-scriptaculous uses 1.6.0 so far. I''ll see if I can get around to building a new version with 1.6.2 myself. Thanks, Thomas --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
On 25 Apr., 20:43, "T.J. Crowder" <tjcrow...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi Thomas, > > I use Prototype 1.6 with FF without trouble, FWIW. What''s the actual > symptom you''re running into? Are you sure you''re using an > unadulterated Prototype.js?Hi T.J., in the broken line of Javascript I pasted you see that an opening " is not closed, so the whole file from that point on gets borked. I kind of expected it to work because otherwise the problem should be known, but I don''t get what breaks it here. I''m fairly sure the prototype.js is unadulterated, because I extracted it form the jar deployed in the Wicket app and it''s the original. The mangling seems to occur on its way from the jar to the browser. Thanks, Thomas --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---