Browse Source

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

spficklin 12 năm trước cách đây
mục cha
commit
9e02403c3f
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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.'),
      '#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',
      '#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.'),
      '#default_value' => $update_if_duplicate
   );  
+*/  
   $form['edit_record']['optional'] = array(
      '#type' => 'checkbox',
      '#title' => t('Optional'),