[drupal-devel] [feature] "File Attachments" group should be expanded if files are attached

eafarris drupal-devel at drupal.org
Fri Aug 12 21:08:19 UTC 2005


Issue status update for 
http://drupal.org/node/28721
Post a follow up: 
http://drupal.org/project/comments/add/28721

 Project:      Drupal
 Version:      cvs
 Component:    upload.module
 Category:     feature requests
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  eafarris
 Updated by:   eafarris
-Status:       patch (code needs work)
+Status:       patch (code needs review)
 Attachment:   http://drupal.org/files/issues/upload.module_2.patch (1.19 KB)

Agreed. Here's an updated patch.




eafarris



Previous comments:
------------------------------------------------------------------------

Thu, 11 Aug 2005 23:33:17 +0000 : eafarris

Attachment: http://drupal.org/files/issues/upload.module_1.patch (1.21 KB)

Simple patch that will expand the "File Attachments"
form_group_collapsible() by default if there are files attached.




------------------------------------------------------------------------

Fri, 12 Aug 2005 18:57:11 +0000 : drumm

I think

<?php
$has_attachments ? FALSE : TRUE
?>


can be replaced with

<?php
!$has_attachments
?>









More information about the drupal-devel mailing list