Project

General

Profile

« Previous | Next » 

Revision f35d3f4a

Added by Patrick Plitzner almost 8 years ago

#5890 Handle taxon name parsing in service method -> only pass taxon
name

View differences:

modules/cdm_dataportal/cdm_csv_export/cdm_csv_export.module
111 111
    $form['csv_export_taxon_select'] = array(
112 112
        '#title' => t('Taxon'),
113 113
        '#type' => 'textfield',
114
        '#name' => 'taxonName',
114 115
        '#prefix' => '<div id="taxon-selection">',
115 116
        '#suffix' => '</div>',
116
        '#attributes' => array(
117
            'onchange' => 'return validateForm()'
118
        ),
119 117
    );
120 118
    if(variable_get('cdm_dataportal_taxon_auto_suggest')){
121 119
        $form['csv_export_taxon_select']['#autocomplete_path'] = 'cdm_dataportal/taxon/autosuggest////';
122 120
    }
123
    $form['taxonUuidStore'] = array(
124
        '#type' => 'hidden',
125
        '#value' => '',
126
        '#name' => taxonUuid,
127
        '#attributes' => array(
128
            'id' => 'taxonUuid',
129
        )
130
    );
131 121

  
132 122
    $form['redListField'] = array(
133 123
        '#type' => 'fieldset',

Also available in: Unified diff