Skip to content

Instantly share code, notes, and snippets.

@forcementor
Created October 17, 2012 21:37
Show Gist options
  • Select an option

  • Save forcementor/3908417 to your computer and use it in GitHub Desktop.

Select an option

Save forcementor/3908417 to your computer and use it in GitHub Desktop.
Developing Mobile…Force.com and Sencha-Part 2, Step 9: Adjusting Our Proxy To Work With Visualforce Remoting - Controller Tweaks 2
Ext.data.proxy.Direct.prototype.createRequestCallback = function (request, operation, callback, scope) {
var me = this;
return function (data, event) {
console.log('createRequestCallback: ' + operation);
me.processResponse(event.status, operation, request, data, callback, scope);
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment