@@ -123,8 +123,7 @@ define(['diag'], function (diag) {
123123deferred = $ . Deferred ( ) ;
124124
125125url = dataAccess . featureServiceUrl + "query?where=" + ( condition || dataAccess . validCandidateCondition )
126- + "&objectIds=&returnIdsOnly=false&returnCountOnly=true&outFields=" + dataAccess . fixedQueryParams
127- + "&callback=?" ;
126+ + "&objectIds=&returnIdsOnly=false&returnCountOnly=true&outFields=" + dataAccess . fixedQueryParams ;
128127$ . getJSON ( url , function handleObjectCountClosure ( results ) {
129128dataAccess . handleObjectCount ( results , deferred , condition ) ;
130129} ) ;
@@ -166,8 +165,7 @@ define(['diag'], function (diag) {
166165
167166// Get the ids of available unsurveyed candidates
168167url = dataAccess . featureServiceUrl + "query?where=" + dataAccess . validCandidateCondition
169- + "&objectIds=&returnIdsOnly=true&returnCountOnly=false&outFields=" + dataAccess . fixedQueryParams
170- + "&callback=?" ;
168+ + "&objectIds=&returnIdsOnly=true&returnCountOnly=false&outFields=" + dataAccess . fixedQueryParams ;
171169$ . post ( url , function handleCandidatesClosure ( results ) {
172170dataAccess . handleCandidates ( results , randomizeSelection , deferred ) ;
173171} , 'json' ) ;
@@ -210,15 +208,14 @@ define(['diag'], function (diag) {
210208// Get the candidate's attributes
211209attributesDeferred = $ . Deferred ( ) ;
212210objectAttrsUrl = dataAccess . featureServiceUrl + "query?objectIds=" + objectId
213- + "&returnIdsOnly=false&returnCountOnly=false&outFields=*" + dataAccess . fixedQueryParams
214- + "&callback=?" ;
211+ + "&returnIdsOnly=false&returnCountOnly=false&outFields=*" + dataAccess . fixedQueryParams ;
215212$ . getJSON ( objectAttrsUrl , function handleCandidateAttrsClosure ( results ) {
216213dataAccess . handleCandidateAttrs ( results , attributesDeferred ) ;
217214} ) ;
218215
219216// Get the candidate's attachments
220217attachmentsDeferred = $ . Deferred ( ) ;
221- objectAttachmentsUrl = dataAccess . featureServiceUrl + objectId + "/attachments?f=json&callback=? " ;
218+ objectAttachmentsUrl = dataAccess . featureServiceUrl + objectId + "/attachments?f=json" ;
222219$ . getJSON ( objectAttachmentsUrl , function handleCandidateAttachmentsClosure ( results ) {
223220dataAccess . handleCandidateAttachments ( objectId , results , attributesDeferred , attachmentsDeferred ) ;
224221} ) ;