[wp-trac] [WordPress Trac] #30505: Backbone subviews cannot be attached directly to DOM elements

WordPress Trac noreply at wordpress.org
Tue Dec 2 03:20:14 UTC 2014


#30505: Backbone subviews cannot be attached directly to DOM elements
----------------------------+------------------------------
 Reporter:  rmccue          |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  javascript
----------------------------+------------------------------

Comment (by adamsilverstein):

 Thanks for clarifying!

 I think this is an edge use case  :)

 maybe what you could do is extend ''add'' and if the element doesn't have
 an id, generate and add one on the fly? would that fix the issue?

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


More information about the wp-trac mailing list