I see no reason for these to be posts. They retrieve info, that's it.

pull/475/head
Isaac Connor 2014-07-29 16:15:31 -04:00
parent 96322dd59c
commit 0834e1b61d
2 changed files with 4 additions and 4 deletions

View File

@ -75,8 +75,8 @@ function frameDataResponse( respObj, respText )
loadEventImage( frame.Image.imagePath, event.Id, frame.FrameId, event.Width, event.Height );
}
var eventQuery = new Request.JSON( { url: thisUrl, method: 'post', timeout: AJAX_TIMEOUT, link: 'cancel', onSuccess: eventDataResponse } );
var frameQuery = new Request.JSON( { url: thisUrl, method: 'post', timeout: AJAX_TIMEOUT, link: 'cancel', onSuccess: frameDataResponse } );
var eventQuery = new Request.JSON( { url: thisUrl, method: 'get', timeout: AJAX_TIMEOUT, link: 'cancel', onSuccess: eventDataResponse } );
var frameQuery = new Request.JSON( { url: thisUrl, method: 'get', timeout: AJAX_TIMEOUT, link: 'cancel', onSuccess: frameDataResponse } );
function requestFrameData( eventId, frameId )
{

View File

@ -75,8 +75,8 @@ function frameDataResponse( respObj, respText )
loadEventImage( frame.Image.imagePath, event.Id, frame.FrameId, event.Width, event.Height );
}
var eventQuery = new Request.JSON( { url: thisUrl, method: 'post', timeout: AJAX_TIMEOUT, link: 'cancel', onSuccess: eventDataResponse } );
var frameQuery = new Request.JSON( { url: thisUrl, method: 'post', timeout: AJAX_TIMEOUT, link: 'cancel', onSuccess: frameDataResponse } );
var eventQuery = new Request.JSON( { url: thisUrl, method: 'get', timeout: AJAX_TIMEOUT, link: 'cancel', onSuccess: eventDataResponse } );
var frameQuery = new Request.JSON( { url: thisUrl, method: 'get', timeout: AJAX_TIMEOUT, link: 'cancel', onSuccess: frameDataResponse } );
function requestFrameData( eventId, frameId )
{