Mercurial > defr > drupal > popups_reference
view CHANGELOG.txt @ 2:92ed2a629336
Only update one autocomplete field after successful node creation
Before the patch, the title of the newly created node would appear in every
inputs of the field, which wasn't all that usefull. The code now only updates
one field, and /tries/ to be smart when making the choice of which one to
update: if there's an empty field, we'll put the value there. If there isn't,
then we'll use the first one.
Ideally, the code would check if the field is configured for "Unlimited"
values, and if it is, try to add a new input instead of blindly overwritting
potentially valuable user input.
author | Franck Deroche <franck@defr.org> |
---|---|
date | Wed, 21 Jan 2009 14:17:45 +0100 |
parents | 56772e0a00ae |
children | e1318a313b1d |
line wrap: on
line source
Drupal-6-1-0-RC1 New Features * http://drupal.org/node/310019 - Checkbox to toggle the "Add New:" links per field. Funded by Agaric Design. * http://drupal.org/node/308589 - Select the newly created node (requres Popups API 1.2RC1 or newer). Funded by Agaric Design * Added support for radio buttons widget. Other * Better comments and function documentation. Drupal-6--1-0-BETA2 * http://drupal.org/node/322600 - test if user has permission to do any adds before showing "Add new" text. * http://drupal.org/node/325720 (jhodgdon ) - fix for content types with '_'s in them. Drupal-6--1-0-BETA1 * Working w/Popups Api RC2