developerforce / Force.com-JavaScript-REST-Toolkit

ForceTK - a minimal Force.com REST API for JavaScript apps
BSD 3-Clause "New" or "Revised" License
315 stars 175 forks source link

Add in queryMore method to the forceTk toolkit #16

Closed paulroth3d closed 11 years ago

paulroth3d commented 12 years ago

Calling forcetkClient.ajax doesn't quite work as ajax adds on 'services/data' to the request, which is already present from successResponse.nextRecordsUrl - and would otherwise result in an invalid url.

This simply removes that section, so a client can call forcetkClient.queryMore( successResponse.nextRecordsUrl, successHandler, failureHandler )

metadaddy commented 11 years ago

Apologies for the delay - something went wrong with my email notifications from GitHub!