Hi. I''m running a questionaire with 90 questions and it usually works
fine. Some times though, IE hangs as if it never gets a response.
As far as I can see in the log, the response gets committed fine from
Rails:
Processing ProfilesController#answer (for 212.242.187.48 at 2007-06-15
10:58:05) [POST]
Session ID: db915eb19a676d8459cb0bc9284c96a4
Parameters:
{"reply"=>{"work_area_id"=>"17",
"question_id"=>"51",
"current"=>"2",
"category_id"=>"3",
"base"=>"null"},
"action"=>"answer",
"controller"=>"profiles"}
Completed in 0.04024 (24 reqs/sec) | Rendering: 0.01693 (42%) | DB:
0.00423 (10%) | 200 OK [https://host.com/profiles/answer]
But nothing happens on the client side (on occasion only). Any tips on
troubleshooting?
The submit has some error handling which doesn''t get triggered:
<% form_remote_tag :url => form_action, :loading =>
"$(''question-
text'').innerHTML=''<img
src=\"/images/ajax_fan.gif?1234\"/>''", :failure
=> "alert(''Error on submit'')", :html => { :id
=> "profile_form" } do
%>
Thanks
Morten
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---