Browse Source

Tripal 2.0a (alpha release)

Stephen Ficklin 11 years ago
parent
commit
d56a072dc8

+ 1 - 1
tripal_core/tripal_core.module

@@ -378,7 +378,7 @@ function tripal_core_menu() {
 
   // Relationshi API autocomplete callback
   $items['tripal_ajax/relationship_nodeform/%/%/name_to_id'] = array(
-    'page callback' => 'chado_node_relationships_name_to_id_callback',
+    'page callback' => 'chado_add_node_form_relationships_name_to_id_callback',
     'page arguments' => array(2,3),
     'access arguments' => array('access content'),
     'type' => MENU_CALLBACK

+ 4 - 1
tripal_feature/includes/tripal_feature.chado_node.inc

@@ -231,7 +231,9 @@ function chado_feature_form($node, &$form_state) {
   );
   chado_add_node_form_dbxrefs($form, $form_state, $details);
   
-  
+  // TODO: For some reason adding a relationship to the form breaks AJAX
+  // for features (works for other node type)... need to debug
+  /*
   // RELATIONSHIPS FORM
   //---------------------------------------------
   $relationship_cv = tripal_get_default_cv('feature_relationship', 'type_id');
@@ -245,6 +247,7 @@ function chado_feature_form($node, &$form_state) {
     'cv_id' => $cv_id
   );
   chado_add_node_form_relationships($form, $form_state, $details);
+  */
 
   return $form;
 }