Customize: Use the correct variable when referring to the media frame.
Props celloexpressions. Fixes #36236. git-svn-id: https://develop.svn.wordpress.org/trunk@37955 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1ae9f9c733
commit
1d16d1f36d
@ -2443,7 +2443,7 @@
|
||||
controller.setImageFromAttachment( croppedImage );
|
||||
controller.frame.close();
|
||||
} ).fail( function() {
|
||||
controller.trigger('content:error:crop');
|
||||
controller.frame.trigger('content:error:crop');
|
||||
} );
|
||||
} else {
|
||||
this.frame.setState( 'cropper' );
|
||||
|
Loading…
Reference in New Issue
Block a user