These backbone.js methods (fetch and destroy) were working fine in adobe aem CQ5.6, now I have updated to CQ6.3. Functionalities are not working now.
fetch method -
fetch({
url: contextPath+"/bin/servletpath/updatemessage",
data: data,
add: true,
cache: false,
success: (successCallback ? successCallback : function(){
self.allowRequests = true;
}),
error: (errorCallback ? errorCallback : function(){
self.allowRequests = true;
})
});
Working fine by adding complete as below.
complete: function(response){ self.allowRequests = true; }