Yeah man, this is due to my sucky Javascript which I've been wanting to fix for a while (and would happily accept patches for
). Basically, the page is running a few asynchronous HTTP requests at the same time using $.post() in that set_line_item() function. Well, they don't always get returned in the same order you call them, so it results in overwrites. I need to either devise a new way of doing that or add some sort of custom mutex that will ensure things get fired off in order. Any ideas?
Re: Strange behavior with hook_line_item()
#1 Tue, 08/14/2007 - 09:30
Strange behavior with hook_line_item() (5 replies) Tue, 08/14/2007 - 04:16
- Re: Strange behavior with hook_line_item() (08/14/2007 - 09:30)
- Re: Re: Strange behavior with hook_line_item() (08/22/2007 - 05:22)
- Re: Re: Re: Strange behavior with hook_line_item() (08/22/2007 - 08:27)
- Re: Re: Re: Re: Strange behavior with hook_line_item() (08/22/2007 - 10:32)
- Re: Re: Re: Re: Re: Strange behavior with hook_line_item() (08/22/2007 - 15:36)
- Re: Re: Re: Re: Strange behavior with hook_line_item() (08/22/2007 - 10:32)
- Re: Re: Re: Strange behavior with hook_line_item() (08/22/2007 - 08:27)
- Re: Re: Strange behavior with hook_line_item() (08/22/2007 - 05:22)
|
|



Joined: 08/07/2007