baamenabar/jQuery-File-Upload-and-Crop — pull request #1 by 5818959 (2012-11-19 11:47:22+00:00)
Title: Fixed resize parameters and multiple bind on resize and crop buttons

When resizing the width replaced with the height, and the height is not sent at all.

Original:
```javascript
if($('#inWidthCrop').val() && $('#inWidthCrop').val() != '0'){
resizeData.width=$('#inWidthCrop').val();
noSize=false;
}
if($('#inHeightCrop').val() && $('#inHeightCrop').val() != '0'){
resizeData.width=$('#inHeightCrop').val();
noSize=false;
}
```
Fixed:
```javascript
if($('#inWidthCrop').val() && $('#inWidthCrop').val() != '0'){
resizeData.width=$('#inWidthCrop').val();
noSize=false;
}
if($('#inHeightCrop').val() && $('#inHeightCrop').val() != '0'){
resizeData.height=$('#inHeightCrop').val();
noSize=false;
}
```

Multiple bind on resize and crop buttons.

Original:
```javascript
$('#modal-gallery').on('displayed', function () {
...
$('#startCrop').click(function(eve){
...
$('#btnDoCrop').click(function(eve){
...
});
});
...
$('#startResize').click(function(){
...
});
});
```
Fixed:
```javascript
$('#modal-gallery').on('displayed', function () {
...
$('#startCrop').click(function(eve){
...
});
...
});
$('#btnDoCrop').click(function(eve){
...
});
$('#startResize').click(function(){
...
});
```