Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save forcementor/3908414 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 1
//Adjust our read method to add a function that Touch expects to see to get Arguments.
PocketCRMLeadController.Query.directCfg.method.getArgs = function (params, paramOrder, paramsAsHash) {
console.log('getArgs: ' + params.data);
return [params]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment