[wp-trac] [WordPress Trac] #22710: TypeError: router is null when editing a gallery (media-views.js line 505)
WordPress Trac
noreply at wordpress.org
Tue Dec 4 04:55:27 UTC 2012
#22710: TypeError: router is null when editing a gallery (media-views.js line 505)
-------------------+--------------------------
Reporter: nacin | Type: defect (bug)
Status: new | Priority: normal
Milestone: 3.5 | Component: Media
Version: trunk | Severity: normal
Keywords: |
-------------------+--------------------------
We're doing `router = frame.router.get()`, then `router.get()` again.
It should either be `view = frame.router.get()` then use `view`, or
`router = frame.router` then use `router.get()`. Since we pass a value to
`get()`, it should be the latter.
Via markjaquith in IRC.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22710>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list