|
@@ -7,7 +7,7 @@ require_once "includes/tripal_ds.field_formatter.inc";
|
|
|
require_once "includes/tripal_ds.field_formatter.inc";
|
|
|
|
|
|
// Import the full Tripal_DS API into scope.
|
|
|
-tripal_ds_import_api();
|
|
|
+tripal_ds_import_api();
|
|
|
|
|
|
/**
|
|
|
* Implements hook_init().
|
|
@@ -381,8 +381,8 @@ function tripal_ds_pane_addition_button_form_submit($form, &$form_state) {
|
|
|
//Build the rest of the passed variables.
|
|
|
$field_name = $form_state['input']['field_name'];
|
|
|
$field_label = $form_state['input']['field_name'];
|
|
|
-
|
|
|
- tripal_ds_field_create_field_but_not_the_hook($field_label, $field_name, $bundle_name);
|
|
|
+
|
|
|
+ tripal_ds_create_field($field_label, $field_name, $bundle_name);
|
|
|
drupal_goto("admin/structure/bio_data/manage/$bundle_name/display");
|
|
|
}
|
|
|
|