function tripal_ajax_cv_edit

1.x tripal_cv_admin.inc tripal_ajax_cv_edit()

Purpose: The edit controlled vocabulary javascript

Related topics

1 string reference to 'tripal_ajax_cv_edit'
tripal_cv_menu in tripal_cv/tripal_cv.module
Implements hook_menu(). Registers all menu items associated with this module

File

tripal_cv/includes/tripal_cv_admin.inc, line 55

Code

function tripal_ajax_cv_edit() {

  // get the database id, build the form and then return the JSON object
  $cvid = filter_xss($_POST['cvid']);
  $form = drupal_get_form('tripal_cv_edit_form', $cvid);
  drupal_json(array('status' => TRUE, 'data' => $form));

}