Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

needed to pass :layout => false to render :action calls in all _respond_... #286

Open
wants to merge 2,257 commits into
base: master
Choose a base branch
from

Conversation

xdotcommer
Copy link

...to_js methods to avoid Request Failed 500 errors

scambra and others added 30 commits December 19, 2012 14:15
Allow the use of symbol and string in action_link config
…version methods in controller, like conversion methods for field_search
This reverts commit f8a6288.

Conflicts:

	lib/active_scaffold/extensions/action_controller_rendering.rb
…eprecated in jquery 1.9.

- jquery api documentation for the live() method: http://api.jquery.com/live/
Rewrites methods using jquery.live() to use jquery.on() as they are deprecated in jquery 1.9
…ord_using_RS

Fix error with 'Add existing record' using record_select
@scambra
Copy link
Member

scambra commented Sep 17, 2013

:content_type => Mime::JS, :layout => false shouldn't be needed in _respond_to_js methods, format is :js because is called inside a respond_to { |format| format.js } block, so content type should be right. And I never saw layout used in format.js block.

Can you post the name of layout which is being used?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.