darkhelmet
2009-Sep-29 05:36 UTC
Javascript call fails when it renders a partial which has a javascript call....
So I have a setup like this: Render a view which has a link_to_function which does an insert_html, and the partial that it inserts has a link_to_function which does something like a page.call(''alert'', ''foo'') The ''foo'' is, I believe, quoted improperly, thereby causing the first link_to_function to fail when you click the link. Make sense? I replicated this on a basic app. Is this a bug or working as advertised because you''re just not supposed to do stuff like that? I doesn''t make sense that it shouldn''t work, and I think it''s a bug.