Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: UpdateListItems Error

$
0
0

The problem from what I've found looks to be a bug in SPServices 0.7.2.  I've found this on line 1206:

opt.completefunc(cachedXML, status);				// When the call is complete, do this
The error you are getting is because you can't invoke null...  The line above does that blindly without checking the actual property for anything...  I modded line 1206 to this and it works like a charm.

if ( $.isFunction( opt.completefunc ) ) {
	opt.completefunc( cachedXML, status );				// When the call is complete, do this
}

Let me know if that fixes you up...

Cheers,
Matthew 


Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>