From 624b0120bd5f64af6b7fdfca1945e8de6a1c62e5 Mon Sep 17 00:00:00 2001 From: mb863 Date: Wed, 14 Jul 2010 19:49:15 +0000 Subject: [PATCH] NIHVIVO-808: Fixed for IE 7 and 8, working on IE 6 --- webapp/web/js/imageUpload/cropImage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/web/js/imageUpload/cropImage.js b/webapp/web/js/imageUpload/cropImage.js index 5a28c1a1f..b1d1b9843 100644 --- a/webapp/web/js/imageUpload/cropImage.js +++ b/webapp/web/js/imageUpload/cropImage.js @@ -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();