NIHVIVO-808: Fixed for IE 7 and 8, working on IE 6
This commit is contained in:
parent
439b47600e
commit
624b0120bd
1 changed files with 2 additions and 1 deletions
|
@ -5,11 +5,12 @@
|
||||||
$(window).load(function(){
|
$(window).load(function(){
|
||||||
|
|
||||||
var jcrop_api = $.Jcrop('#cropbox',{
|
var jcrop_api = $.Jcrop('#cropbox',{
|
||||||
onChange: showPreview,
|
/*onChange: showPreview,*/
|
||||||
onSelect: showPreview,
|
onSelect: showPreview,
|
||||||
setSelect: [ 0, 0, 115, 115 ],
|
setSelect: [ 0, 0, 115, 115 ],
|
||||||
minSize: [ 115, 115 ],
|
minSize: [ 115, 115 ],
|
||||||
aspectRatio: 1
|
aspectRatio: 1
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
var bounds = jcrop_api.getBounds();
|
var bounds = jcrop_api.getBounds();
|
||||||
|
|
Loading…
Add table
Reference in a new issue