function animate_any_custom_add_more_add_one in Animate Any 7
Submit handler for the "Add More" button.
1 string reference to 'animate_any_custom_add_more_add_one'
- animate_any_settings in ./
animate_any.module - Callback for animate_any_settings.
File
- ./
animate_any.module, line 193 - Add CSS3 cross-browser animation to any Drupal site.
Code
function animate_any_custom_add_more_add_one($form, &$form_state) {
$form_state['field_deltas'][] = count($form_state['field_deltas']) > 0 ? max($form_state['field_deltas']) + 1 : 0;
$form_state['rebuild'] = TRUE;
}