[wp-trac] [WordPress Trac] #41231: media-views.js: Cannot read .length of undefined (this.controller.$uploaderToggler.length)

WordPress Trac noreply at wordpress.org
Thu Jul 6 00:27:15 UTC 2017


#41231: media-views.js: Cannot read .length of undefined
(this.controller.$uploaderToggler.length)
-------------------------------------+-------------------------------------
 Reporter:  Blackbam                 |       Owner:  joemcgill
     Type:  defect (bug)             |      Status:  reviewing
 Priority:  normal                   |   Milestone:  4.8.1
Component:  Media                    |     Version:  4.8
 Severity:  major                    |  Resolution:
 Keywords:  good-first-bug has-      |     Focuses:  accessibility,
  patch                              |  javascript, administration
-------------------------------------+-------------------------------------

Comment (by joemcgill):

 After looking more closely, this patch needed to be applied in `src/wp-
 includes/js/media/views/uploader/inline.js` since `media-views.js` gets
 autogenerated by Browserify.

 [attachment:41231.2.patch] applies the change to `src/wp-
 includes/js/media/views/uploader/inline.js` as well.

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


More information about the wp-trac mailing list