File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed
Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -442,18 +442,17 @@ if (forcetk.Client === undefined) {
442442 * @param [error=null] function to which jqXHR will be passed in case of error
443443 */
444444 forcetk . Client . prototype . queryMore = function ( url , callback , error ) {
445-
446- //-- ajax call adds on services/data to the url call, so only send the url after
447- var serviceData = "services/data" ;
448- var index = url . indexOf ( serviceData ) ;
449-
450- if ( index > - 1 ) {
451- url = url . substr ( index + serviceData . length ) ;
452- } else {
453- //-- leave alone
454- }
455-
456- this . ajax ( url , callback , error ) ;
445+ //-- ajax call adds on services/data to the url call, so only send the url after
446+ var serviceData = "services/data" ;
447+ var index = url . indexOf ( serviceData ) ;
448+
449+ if ( index > - 1 ) {
450+ url = url . substr ( index + serviceData . length ) ;
451+ } else {
452+ //-- leave alone
453+ }
454+
455+ this . ajax ( url , callback , error ) ;
457456 }
458457
459458 /*
You can’t perform that action at this time.
0 commit comments