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

WordPress Trac noreply at wordpress.org
Tue Jul 29 15:11:11 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:                  |     Focuses:
----------------------------+--------------------

Comment (by SergeyBiryukov):

 I think there's some kind of a race condition that causes
 `this.library.at( 0 )` in [source:trunk/src/wp-includes/js/media-
 grid.js?rev=29322#L363 line 379] to be undefined until the items are
 loaded.

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


More information about the wp-trac mailing list