-
Upload element: February 25, 2011 2:09
Commit ba79067 on master, committed by Drupal Git User (LDAP)Stripping CVS keywords
-
Upload element: February 25, 2011 2:09
Commit e7faba6 on 6.x-1.x, committed by Drupal Git User (LDAP)Stripping CVS keywords
-
This is a semi-complete workaround for issues related to a changing form build id when a form is rebuilt. (Issues http://drupal.org/node/485078 & http://drupal.org/node/487358). More time is required to see why the AHAH callback is still using the old form build id, and not getting reprocessed with the element.
-
Addresses two issues discovered in relation to the Devel module interaction and PHP 4 issues using the PHP 5.1 function, property_exists @see http://drupal.org/node/398346 Simple debugging statements have been added to help address future issues
-
Bug fix reported by rszrama, http://drupal.org/node/355163
-
Changed the save function to do a physical delete rather than using the {files} status falg. Also added an imagecache flush on the saved file, as duplicate files with the same name were using the same cached imagecache preset. -
Removed _upload_element_filename function. Changed file_validator to automate image and max size. (see readme) Added a missing closing span tag in theme_upload_element_preview. Added some checks into preview page, http://drupal.org/node/336424, report by troop. Fixed bug that stores the original size rather than a imagecache processed size. Fixed bug that generates false positives when parsing the form for the upload element. Fixed bug when using multiple images using the same tmp file name. Extended the file input description/help text. Added notes and a more complete example to README.
-
Last nights merge did not seem to trigger a release, so I'm adding a minor update to trigger this. The formatting change is to minimise the floating description text during AHAH update. This still needs a better resolution.
-
Removed _upload_element_filename function. Changed file_validator to automate image and max size. (see readme) Added a missing closing span tag in theme_upload_element_preview. Added some checks into preview page, http://drupal.org/node/336424, report by troop. Fixed bug that stores the original size rather than a imagecache processed size. Extended the file input description/help text. Added notes and a more complete example to README.
-
Two bug fixes: 1) The element_children based search used by the AHAH request was generating a false match when the comments module was enabled. This resulting in part of the comment field being falsely returned by the AHAH callback. This has addressed. 2) When saving images using a ImageCache preset, the size was not being correctly recorded in the {files} table. The size is now recalculated prior to saving the {files} record.