[wp-trac] [WordPress Trac] #30505: Backbone subviews cannot be attached directly to DOM elements
WordPress Trac
noreply at wordpress.org
Mon Feb 22 16:00:47 UTC 2016
#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: needs-patch | Focuses: javascript
----------------------------+------------------------------
Comment (by georgestephanis):
Actually, I've been doing more reading, and it seems 'finding' is probably
why we have `detach()` available for subviews --
https://core.trac.wordpress.org/browser/trunk/src/wp-includes/js/wp-
backbone.js#L190 -- so they can be detached and then dropped back in
without overwriting them.
I think?
I'm still very much learning this, so expect half of everything I say to
be wrong, and the other half to be suspect. :P
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30505#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list