Ricardo,
Thanks for posting here... Others in the community "listen" to this forum and thus you will get more conversation going... :)
I'm going to setup a quick test to see test what you are suggesting above... but just want to make sure: are you saying that your 'simple example' above does not work?
/Paul.
Thanks for posting here... Others in the community "listen" to this forum and thus you will get more conversation going... :)
I'm going to setup a quick test to see test what you are suggesting above... but just want to make sure: are you saying that your 'simple example' above does not work?
$().SPServices({
operation: "GetList",
listName: "some list",
completefunc: function (xData, Status) {
console.log("I run when I want"); }
})
.then(function (xml, Status) {
console.log(" I obey promise");
});
Because it should... Or else, IMO, jQuery is broken... I'm pretty sure I have used it this way with no issues... IN just reviewing the code you suggested as a fix, I can see 'completefunc' being triggered twice, which I don't think is a good behavior. /Paul.