NIHVIVO-808: Fixed for IE 7 and 8, working on IE 6

This commit is contained in:
mb863 2010-07-14 19:49:15 +00:00
parent 439b47600e
commit 624b0120bd

View file

@ -5,11 +5,12 @@
$(window).load(function(){
var jcrop_api = $.Jcrop('#cropbox',{
onChange: showPreview,
/*onChange: showPreview,*/
onSelect: showPreview,
setSelect: [ 0, 0, 115, 115 ],
minSize: [ 115, 115 ],
aspectRatio: 1
});
var bounds = jcrop_api.getBounds();