[wp-trac] [WordPress Trac] #39511: JS Error: Cannot read property 'models' of undefined in wp-includes/js/media-views.js at line no 7727

WordPress Trac noreply at wordpress.org
Wed Feb 8 19:16:37 UTC 2017


#39511: JS Error: Cannot read property 'models' of undefined in wp-includes/js
/media-views.js at line no 7727
--------------------------+-----------------------------
 Reporter:  chandrapatel  |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.8
Component:  Media         |     Version:  4.6
 Severity:  normal        |  Resolution:  fixed
 Keywords:  commit        |     Focuses:  javascript
--------------------------+-----------------------------
Changes (by wonderboymusic):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40050"]:
 {{{
 #!CommitTicketReference repository="" revision="40050"
 Media: in `wp.media.view.Toolbar.refresh()`, check for a selection before
 iterating over models.

 Props chandrapatel.
 Fixes #39511.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39511#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list