Displaying 1 result from an estimated 1 matches for "edit_picture_path".
2008 Sep 25
2
jquery, format.js and IE
...beforeSubmit: prepImageArea,
success: imageUploaded,
dataType: ''script'',
beforeSend: function(xhr) {xhr.setRequestHeader("Accept",
"text/javascript")}
}
And my respond_to block:
respond_to do |format|
format.html { redirect_to edit_picture_path(@picture) }
format.js { render :json => @picture.to_json(:methods =>
[:public_filename, :large_thumb]) }
end
Any suggestions? Thanks.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscrib...