Opened 9 months ago
Closed 9 months ago
#21852 closed defect (bug) (duplicate)
AJAX in custom fields is broken
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | UI | Version: | 3.5 |
| Severity: | major | Keywords: | has-patch |
| Cc: |
Description
Since [21789].
Due to how wp-lists.js currently works, button class should be appended, not prepended.
Attachments (1)
Change History (6)
SergeyBiryukov
— 9 months ago
comment:2
SergeyBiryukov
— 9 months ago
No, button IDs are unrelated here.
comment:3
SergeyBiryukov
— 9 months ago
wp-lists.js uses "attribute starts with" selectors:
http://core.trac.wordpress.org/browser/trunk/wp-includes/js/wp-lists.js?rev=21781#L392
comment:4
azaozz
— 9 months ago
We are removing colons from the class names in wp-lists.js and switching to data-*. Thinking best way to do this would be to move the whole class names to data-wp-lists="...", then we can use that attr for the selectors.
comment:5
SergeyBiryukov
— 9 months ago
- Milestone 3.5 deleted
- Resolution set to duplicate
- Status changed from new to closed
Agreed, closing as a duplicate of #21152 then.
Isn't this the same as #21829?