Ticket #34851: media-views.diff
File media-views.diff, 592 bytes (added by , 8 years ago) |
---|
-
src/wp-includes/js/media-views.js
396 396 var cropDetails = attachment.get( 'cropDetails' ), 397 397 control = this.get( 'control' ); 398 398 399 cropDetails.dst_width = c ontrol.params.width;400 cropDetails.dst_height = c ontrol.params.height;399 cropDetails.dst_width = cropDetails.width; 400 cropDetails.dst_height = cropDetails.height; 401 401 402 402 return wp.ajax.post( 'crop-image', { 403 403 wp_customize: 'on',