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:
Dominik Schilling 2016-07-04 20:44:30 +00:00
parent 1ae9f9c733
commit 1d16d1f36d
1 changed files with 1 additions and 1 deletions

View File

@ -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' );