This project is archived and is in readonly mode.
"render :js => '...' " cannot working
-
Rohit Arondekar
- Importance changed from to Low
Could you please elaborate on the issue?
What steps should I follow to reproduce this?
-
Santiago Pastorino
Can you provide some failing test case, patch or at least a failing application.
Thank you -
dil
thanks
this problem is my error.
in controller i write:
respond_to do |format|format.html { render :js => "...." }end in client js i send a ajax request with "dataType: 'script'", so the response header include "Content-Type text/html; charset=utf-8", i wanna get script content type, so ...
Now, I change "format.html" to "format.js", the problem is ok.
-
Rohit Arondekar
- State changed from new to invalid