[wp-trac] [WordPress Trac] #53672: JS error thrown in Media Library when infinite scrolling re-enabled

WordPress Trac noreply at wordpress.org
Thu Jul 15 16:59:40 UTC 2021


#53672: JS error thrown in Media Library when infinite scrolling re-enabled
------------------------------+-------------------------
 Reporter:  wildworks         |       Owner:  joedolson
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.8
Component:  Media             |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  javascript
------------------------------+-------------------------
Changes (by joedolson):

 * owner:  (none) => joedolson
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"51440" 51440]:
 {{{
 #!CommitTicketReference repository="" revision="51440"
 Media: Fix JS error in Media Library when infinite scroll enabled.

 Wrap call to this.updateLoadMoreView() is wrapped in a check that infinite
 scroll is disabled to prevent JS errors.

 Props wildworks.
 Fixes #53672.
 }}}

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


More information about the wp-trac mailing list