Grzesiek Slusarek
2006-Apr-25 11:52 UTC
asynchronous False and Ajax.Responders object (bug)
Hi all. In my apps I''m using Ajax Call synchronous, (both Ajax Request and Ajax Updater). There is bug in prototype (discused in mailing - list: here http://wrath.rubyonrails.org/pipermail/rails-spinoffs/2006-April/003488.html and here http://wrath.rubyonrails.org/pipermail/rails-spinoffs/2006-April/003497.html). trying to put data from server to my html properly, I need call updateContent() on Ajax Updater. This small hack semms work very well, but there is another problem. I want show some visual indication when an AJAX call is in progress, and I''m using standard Ajax.Responders. So generally it work but there is 2 exception: 1) It''s not working with synchronous request (Ajax indicator is still show but Ajac call ended succesfully) 2) It''s not working when i overload onComplete:function(because I need to pass more arguments to funciton). Does anyone know is it bug or just that shoud work in that way? Thanks for any help Gregor ---------------------------------------------------- Zagraj o tytuł Króla Strzelców i poczuj atmosferę Ligi Mistrzów: http://klik.wp.pl/?adr=www.ligamistrzow.wp.pl&sid=728