comments for files*js
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
// POST to a check URL, that will tell us if the transformation has completed,
|
||||
// if not, try again in 1 second... If it has finished then reset the thumbnail
|
||||
// to full colour, put it back to being an entry and reset the thumbnail to the
|
||||
// newly created one that was sent back in the response to the POST
|
||||
function CheckTransformJob(id,job_id)
|
||||
{
|
||||
$.ajax(
|
||||
@@ -19,6 +23,11 @@ function CheckTransformJob(id,job_id)
|
||||
} )
|
||||
}
|
||||
|
||||
// for each highlighted image, POST the transform with amt (90, 180, 270,
|
||||
// fliph, flipv) which will let the job manager know what to do to this file.
|
||||
// we also grayscale the thumbnail out, remove the entry class for now, show
|
||||
// the spinning wheel, and finally kick of the checking for the transform job
|
||||
// to finish
|
||||
function Transform(amt)
|
||||
{
|
||||
$('.highlight').each(function( id, e ) {
|
||||
|
||||
Reference in New Issue
Block a user