In my controller I have a simple "create" method and in the output
section, I have:

      format.js do
        @traces = Trace.getLatest
        render :update do |page|
          page.visual_effect :highlight, :homeContentPanel
          page.replace_html :homeContentPanel, :partial => "home/
traceList", :locals => { :traces => @traces}, :layout => false
        end
      end

The intent is to, of course, simply updated a div "homeContentPanel"
with the results of a partial.  The partial that is _normally_ a part
of the div anyway.

What I get is a completely odd formatted output.  A sample is below.

Try { new Effect.Highlight("homeContentPanel",{});
Element.update("homeContentPanel", "
\n \n Time\n    Description\n   Date Entered

It's as if it's in debug mode.

Thoughts?

--~--~---------~--~----~------------~-------~--~----~
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@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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to