فهرست منبع

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.'),
      '#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'),