This commit is contained in:
rjy7 2010-07-22 18:47:44 +00:00
parent fa77c80a91
commit a82411b2f0
13 changed files with 256 additions and 27 deletions

View file

@ -9,9 +9,13 @@
onSelect: showPreview,
setSelect: [ 0, 0, 115, 115 ],
minSize: [ 115, 115 ],
boxWidth: 450,
aspectRatio: 1
});
var bounds = jcrop_api.getBounds();
var boundx = bounds[0];

View file

@ -2,13 +2,12 @@
$(document).ready(function(){
// upload form is hidden by default; use JavaScript to reveal
$("#photoUploadContainer").removeClass("hidden");
// Confirmation alert for photo deletion
$('a.thumbnail').click(function(){
var answer = confirm('Are you sure you want to delete your photo?');
return answer;
});
});
});