Hello, sometimes I get this "message" or error: --------------- try { alert(null); } catch (e) { alert(''RJS error:\n\n'' + e.toString()); alert(''alert(null);''); throw e }. ----------------------- What does this mean? My app works fine and variables are passed ok. This time it poped up when I was using form_remote_tag to submit some selection field values to controller action. Thanks for your help! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
you might be trying to call render :update do .. and updating a dom element that doesn''t exist.. Mike On 7/5/07, Mravo <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > Hello, > sometimes I get this "message" or error: > --------------- > try { alert(null); } catch (e) { alert(''RJS error:\n\n'' + e.toString()); > alert(''alert(null);''); throw e }. > ----------------------- > What does this mean? My app works fine and variables are passed ok. This > time it poped up when I was using form_remote_tag to submit some > selection field values to controller action. > > Thanks for your help! > > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Yes, you''re right. I was trying to display a variable that was null. I inserted some if sentances and things got messed up in the controller. Anyways, thanks for your effort, I''ll remeber this for the future tasks. cheers! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---