Преглед на файлове

OOps forgot to comment out the update if duplicate form element on the record form

spficklin преди 12 години
родител
ревизия
9e02403c3f
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      tripal_bulk_loader/tripal_bulk_loader.admin.templates.inc

+ 3 - 1
tripal_bulk_loader/tripal_bulk_loader.admin.templates.inc

@@ -788,12 +788,14 @@ function tripal_bulk_loader_edit_template_record_form(&$form_state = NULL) {
      '#description' => t('If this is not the first time this record has been added then perform a select rather than an insert.'),
      '#description' => t('If this is not the first time this record has been added then perform a select rather than an insert.'),
      '#default_value' => $select_if_duplicate
      '#default_value' => $select_if_duplicate
   );
   );
-  $form['edit_record']['update_if_duplicate'] = array(
+// TODO: finish coding up the update_if_duplicate functionality  
+/*  $form['edit_record']['update_if_duplicate'] = array(
      '#type' => 'checkbox',
      '#type' => 'checkbox',
      '#title' => t('UPDATE if duplicate (no insert)'),
      '#title' => t('UPDATE if duplicate (no insert)'),
      '#description' => t('If this is not the first time this record has been added then perform an update rather than an insert.'),
      '#description' => t('If this is not the first time this record has been added then perform an update rather than an insert.'),
      '#default_value' => $update_if_duplicate
      '#default_value' => $update_if_duplicate
   );  
   );  
+*/  
   $form['edit_record']['optional'] = array(
   $form['edit_record']['optional'] = array(
      '#type' => 'checkbox',
      '#type' => 'checkbox',
      '#title' => t('Optional'),
      '#title' => t('Optional'),