[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 17:28:42 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 fixed-major dev-    |     Focuses:  javascript
  reviewed                                       |
-------------------------------------------------+-------------------------
Changes (by desrosj):

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


Comment:

 In [changeset:"51441" 51441]:
 {{{
 #!CommitTicketReference repository="" revision="51441"
 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, joedolson.
 Merges [51440] to the 5.8 branch.
 Fixes #53672.
 }}}

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


More information about the wp-trac mailing list