merge r5315 r5323:5325 r5333 r5359 r5381 from http://svn.mannlib.cornell.edu/svn/vitro/branches/nihvivo-rel-1.1-maint
This commit is contained in:
parent
fa77c80a91
commit
a82411b2f0
13 changed files with 256 additions and 27 deletions
|
@ -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];
|
||||
|
|
|
@ -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;
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue