Default settings of checkboxes

AniKarenina - August 13, 2009 - 19:42
Project:File import
Version:6.x-1.0-beta3
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

The UI at admin/content/file_import has all items selected by default - except that the "Name" checkbox is not selected. From a usability perspective, this is confusing and inconsistent behavior; if all the items are selected, the "Name" checkbox should be selected as well.

To deselect all files, I have to click the "Name" checkbox twice - this takes a very long time for Firefox to re-render because my import source directory has hundreds of items in it. I would like the default to be that all checkboxes are deselected, as I only need to import a fraction of the files in the import directories. I'm willing to try to code this myself if someone could point me at where in the code I would make the appropriate changes. Alternately, it might be a useful option to put in the module configuration screen, so that users could select whether they would like everything selected or deselected as the default.

 
 

Drupal is a registered trademark of Dries Buytaert.