Pascal Birchler 47e67b7d33 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.
Built from https://develop.svn.wordpress.org/branches/4.5@37813


git-svn-id: http://core.svn.wordpress.org/branches/4.5@37778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-21 14:55:30 +00:00
..
2015-09-05 19:53:24 +00:00
2015-03-11 17:15:27 +00:00
2015-10-21 20:38:26 +00:00
2015-10-21 20:38:26 +00:00
2015-06-28 14:51:30 +00:00
2015-06-28 14:51:30 +00:00
2016-03-10 05:37:27 +00:00
2016-03-10 05:37:27 +00:00
2016-03-13 20:30:27 +00:00
2016-03-13 20:30:27 +00:00
2016-04-01 21:13:29 +00:00
2016-04-01 21:13:29 +00:00