From: https://spservices.codeplex.com/discussions/444799
I have an issue with a function not running async when upgrading SPServices to the new version. The issue I found was at line 1220 of SPServices. In the previous version, the async value was set to the async option I provide. In the new version, it defaults to false if a completefunc exists. In my case, I have a completefunc and still need it to be true for async. Is there something I am not seeing to do this? When I delete the "thisHasCompletefun ? false : " from that line, everything works for me but rather than changing spservices on my system, I'd rather understand the intent better.
Comments: Ah, that would be the part you posted on Jul 2 at 2:53 PM? No, I didn't even look at that again. To be honest, I forgot all about it, and I haven't spent as much time on SPServices lately as I should. I'll need to review your post again and figure out what to do with it. I've just created a new item in the Issue Tracker for it: https://spservices.codeplex.com/workitem/10182 Also note Josh's find about caching here: https://spservices.codeplex.com/workitem/10167. It's a simpler issue, but I'll want to fix it along with what you found. M.
I have an issue with a function not running async when upgrading SPServices to the new version. The issue I found was at line 1220 of SPServices. In the previous version, the async value was set to the async option I provide. In the new version, it defaults to false if a completefunc exists. In my case, I have a completefunc and still need it to be true for async. Is there something I am not seeing to do this? When I delete the "thisHasCompletefun ? false : " from that line, everything works for me but rather than changing spservices on my system, I'd rather understand the intent better.
Comments: Ah, that would be the part you posted on Jul 2 at 2:53 PM? No, I didn't even look at that again. To be honest, I forgot all about it, and I haven't spent as much time on SPServices lately as I should. I'll need to review your post again and figure out what to do with it. I've just created a new item in the Issue Tracker for it: https://spservices.codeplex.com/workitem/10182 Also note Josh's find about caching here: https://spservices.codeplex.com/workitem/10167. It's a simpler issue, but I'll want to fix it along with what you found. M.