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

WordPress Trac noreply at wordpress.org
Wed Aug 6 22:16:04 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:
----------------------------+--------------------

Comment (by SergeyBiryukov):

 Cool, [29420] fixed the error. Glad I'm not crazy :)

 Replying to [comment:16 wonderboymusic]:
 > Furthermore, if you keep the modal open with an attachment that is not
 on page 1, it will never be there on page load (as is currently
 implemented).

 Confirmed. This leads to a related issue:
 1. Click any image not within the first 40 images (`posts_per_page` value
 set in `media-models.js`).
 2. Refresh the page without closing the modal.
 3. The modal reappears, but with a different image (the latest uploaded to
 the media library).

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


More information about the wp-trac mailing list