Opened 16 years ago
Last modified 7 years ago
#12826 new enhancement
AJAX trash posts
| Reported by: | meheranandk | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Posts, Post Types | Version: | 2.9 |
| Severity: | normal | Keywords: | has-patch needs-refresh |
| Cc: | Focuses: | javascript |
Description (last modified by )
Add AJAX to trash posts, like comment moderation.
From GSoC ideas list:
Add AJAX Paging to Admin Screens. Something we've never gotten around to is adding AJAX paging to the list-type screens (edit.php, etc). Currently, getting to the next page of items means a screen refresh. For this project, add ajax paging to all the list-type screens in the WordPress admin. We have all the underlying PHP, but it needs some JavaScript love.
Attachments (2)
Change History (11)
#1
@
16 years ago
- Component General → Trash
- Description modified (diff)
- Summary AJAXifying WP Admin Panel interface → AJAX trash posts
- Version → 2.9
#2
@
16 years ago
- Cc added
What is the performance difference between:
current_element.parent().parent().parent().parent().children("th,td:not(.undo-trash)").each(function(){
/*do something */
});
and
current_element.parents('tr').children("th,td:not(.undo-trash)").each(function(){
/*do something */
});
I know the latter seems much more straight forward
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
JS file for AJAX Trash. (Place in wp-admin/js directory)