Pascal Birchler a208f9281c Media: Fix rendering of incorrect toolbar in the Edit view.
This switches event binding in `wp.media.controller.EditImage` to use `on`
instead of `listenTo` to restore rendering of the correct toolbar when the
`toolbar:render:edit-image` event fires. The existing listeners broke
when we upgraded Backbone in [36546].

Merge of [37678] to the 4.5 branch.

Props adamsilverstein.
Fixes #36861.

git-svn-id: https://develop.svn.wordpress.org/branches/4.5@37813 602fd350-edb4-49c9-b593-d223f7449a82
2016-06-21 14:54:22 +00:00
Description
No description provided
244 MiB
Languages
PHP 81.4%
CSS 8.9%
JavaScript 8.1%
SCSS 0.9%
HTML 0.7%