[wp-trac] [WordPress Trac] #27996: Show/Hide Postbox doesn't work if dynamically added
WordPress Trac
noreply at wordpress.org
Sun May 25 04:26:03 UTC 2014
#27996: Show/Hide Postbox doesn't work if dynamically added
----------------------------+------------------------------
Reporter: johnstonphilip | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 3.9
Severity: normal | Resolution:
Keywords: | Focuses: javascript
----------------------------+------------------------------
Comment (by johnstonphilip):
@jesin I am actually not referring to creating a metabox using
'add_meta_box' or even PHP at all. I'm referring to after it has been
created. Say you're on the post editing screen and you might have a
"duplicate" button which clones the metabox and changes some of the
values. The way it is now, you can't duplicate it using javascript and
still have the open/close controls work because it's new to the DOM.
@kucrut I am adding it to the post editing screen. Thanks for the git
suggestion.
P.S. <3 Blink
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27996#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list