This project is archived and is in readonly mode.

#5571 ✓resolved
styx

layout is rendered by default for xhr request

Reported by styx | September 7th, 2010 @ 01:27 PM

Having in controller this one:

def attach_new
  @task_id = params[:id]
end

and in attach_new.js.rjs:

page.replace_html(:upload_controls, :partial => 'attach_new', :object => @task_id)
page[:upload_dialog].show
page[:shadier].show

I'm getting the response which contains the application layout rendered. Is this right behavior?

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Tags

Pages