sympmarc / SPServices

SPServices is a jQuery library which abstracts SharePoint's Web Services and makes them easier to use. It also includes functions which use the various Web Service operations to provide more useful (and cool) capabilities. It works entirely client side and requires no server install.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typo: SPServices.core.js (line 609 - OFFICIALFILE Operations) - too many parameters

TBemrose opened this issue · comments

/src/core/SPServices.core.js (line 609) is passing 7 parameters
609 utils.addToPayload(opt, SOAPEnvelope, ["fileToSubmit"], ["properties"], ["recordRouting"], ["sourceUrl"], ["userName"]);

/src/core/SPServices.utils.js (line 216) requires 3 parameters, the 3rd being an array
216 addToPayload: function(opt, SOAPEnvelope, paramArray) {

It's been a long time since anyone commented here! This project is basically as-is. I had planned a v2, but never finished it.

It seems like the 5 params should be passed as an array.