You are here

function feed_import_ajax_add_new_item in Feed Import 7.2

Same name and namespace in other branches
  1. 7.3 feed_import.module \feed_import_ajax_add_new_item()
  2. 7 feed_import.module \feed_import_ajax_add_new_item()

Ajax callback to add a new item

1 string reference to 'feed_import_ajax_add_new_item'
feed_import_edit_feed_form in ./feed_import.module
Edit feed form

File

./feed_import.module, line 1400
User interface, cron functions for feed_import module

Code

function feed_import_ajax_add_new_item($form, &$form_state) {
  if ($form_state['#field_added']) {
    return $form['xpath']['items']['container_' . $form_state['#current_item']];
  }
  else {
    return NULL;
  }
}