[wp-trac] [WordPress Trac] #29052: TypeError: this.model is undefined

WordPress Trac noreply at wordpress.org
Tue Jul 29 17:50:26 UTC 2014

#29052: TypeError: this.model is undefined
 Reporter:  SergeyBiryukov  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  4.0
Component:  Media           |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:
Changes (by SergeyBiryukov):

 * keywords:   => needs-patch


 `this.library.length` is 0 on page load (when that code runs). It does
 increase later, as soon as the items are loaded. I guess we need to wait
 for that.

Ticket URL: <https://core.trac.wordpress.org/ticket/29052#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list