new Request({async: false})

That's pretty much "sleeping" until that request is complete.

http://jsfiddle.net/rpflorence/54qhG/


On Apr 4, 2011, at 6:17 AM, Robert wrote:

> My problem is - I have a XHR method which saves some data to the
> server. But some of ours designers use it like a synchronous one and
> for example try to read data on return... I think I just use some
> global flag which will delay read XHR if save is not finished...
> 
> 
> Thanks for Your help!

Reply via email to