Hey, I''ve begun using some of the YUI elements in my admin section of my site and it is all AJAX based I''m wondering if anyone has done any work with the YUI RTE and loading it through AJAX - i can''t seem to get it to load via ajax - I created a static page to verify that my code and JS was straight and it was. Any comments are welcome. Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Brian, How is this relevant to prototype.js? - kangax On Mar 30, 11:04 pm, "Brian Williams" <brianw1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hey, I''ve begun using some of the YUI elements in my admin section of my > site and it is all AJAX based I''m wondering if anyone has done any work with > the YUI RTE and loading it through AJAX - i can''t seem to get it to load via > ajax - I created a static page to verify that my code and JS was straight > and it was. > > Any comments are welcome. > > Thanks--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Oops, my bad : / Ajax.Updater currently does not evaluate scripts in global scope - that could be the reason why library is not "being loaded". Take a look at this patch http://dev.rubyonrails.org/ticket/11423 Best, kangax On Mar 30, 11:04 pm, "Brian Williams" <brianw1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hey, I''ve begun using some of the YUI elements in my admin section of my > site and it is all AJAX based I''m wondering if anyone has done any work with > the YUI RTE and loading it through AJAX - i can''t seem to get it to load via > ajax - I created a static page to verify that my code and JS was straight > and it was. > > Any comments are welcome. > > Thanks--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Not a problem, I should have mentioned that I was using AJAX.updater. Thanks for the info, I''ll check it out. On Tue, Apr 1, 2008 at 3:22 PM, kangax <kangax-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Oops, my bad : / > Ajax.Updater currently does not evaluate scripts in global scope - > that could be the reason why library is not "being loaded". Take a > look at this patch http://dev.rubyonrails.org/ticket/11423 > > Best, > kangax > > On Mar 30, 11:04 pm, "Brian Williams" <brianw1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Hey, I''ve begun using some of the YUI elements in my admin section of my > > site and it is all AJAX based I''m wondering if anyone has done any work > with > > the YUI RTE and loading it through AJAX - i can''t seem to get it to load > via > > ajax - I created a static page to verify that my code and JS was > straight > > and it was. > > > > Any comments are welcome. > > > > Thanks > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---