[drupal-devel] [feature] Check All | None on Content List Page (admin/node)

jjeff drupal-devel at drupal.org
Sat Apr 16 17:53:54 UTC 2005


Issue status update for http://drupal.org/node/20641

 Project:      Drupal
 Version:      cvs
 Component:    node.module
 Category:     feature requests
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  jjeff
 Updated by:   jjeff
 Status:       patch
 Attachment:   http://drupal.org/files/issues/node_module_check_all.patch (1.23 KB)

>From the "what a great time-saver" department:


Here is a short patch to node.module that adds a "Check all | none"
javascript link to the bottom of the content listing table on
admin/node. By clicking "all" or "none" you can select or deselect all
of the check boxes in the table at once.


The javascript is very non-invasive, should work older (non-DOM)
browsers, and non-javascript browsers will simply lose this function.


The patch also adds the attribute [name = "node-admin"] to the [form]
tag. I don't know if there is a form naming convention, but this was
the best guess I could come up with by looking at the page source. And
incidentally, if Drupal is going to move toward javascript/ajax
functioning, all forms are going to need 'name' and 'id' tags. Most
don't have these now.


-Jeff




jjeff




More information about the drupal-devel mailing list