function tripal_featuremap_property_delete

1.x tripal_featuremap.form.inc tripal_featuremap_property_delete()
1 string reference to 'tripal_featuremap_property_delete'
tripal_featuremap_menu in tripal_featuremap/tripal_featuremap.module
Menu items are automatically added for the new node types created by this module to the 'Create Content' Navigation menu item. This function adds more menu items needed for this module.

File

tripal_featuremap/includes/tripal_featuremap.form.inc, line 465

Code

function tripal_featuremap_property_delete() {
  $status = TRUE;

  // prepare and render the form
  $form = tripal_core_ahah_prepare_form();

  // we only want to return the properties as that's all we'll replace with this AHAh callback
  $data = tripal_featuremap_theme_node_form_properties($form);

  // bind javascript events to the new objects that will be returned
  // so that AHAH enabled elements will work.
  $settings = tripal_core_ahah_bind_events();

  // return the updated JSON
  drupal_json(
  array(
    'status' => $status,
    'data' => $data,
    'settings' => $settings,
  )
  );
}