You are here

menu.inc in MERCI (Manage Equipment Reservations, Checkout and Inventory) 6.2

Same filename and directory in other branches
  1. 7.2 includes/menu.inc

File

includes/menu.inc
View source
<?php

/**
 * Menu callback for AHAH additions.
 */
function merci_choice_js() {
  list($form, $form_state) = merci_ahah_get_form();
  $selected_portion = $form['choice_wrapper'];
  merci_ahah_output($selected_portion);
}

/**
 * @todo Please document this function.
 * @see http://drupal.org/node/1354
 */
function merci_taxonomy_json($node, $vid, $did) {
  merci_taxonomy_node_delete_vocabulary($node, $vid);
  $tids = $_POST['merci_reservation_items'] ? $_POST['merci_reservation_items'][$did]['accessories']['choices'][$vid] : $_POST[$did]['accessories']['choices'][$vid];
  merci_taxonomy_node_save_terms($node, $tids);
  merci_ahah_output('', TRUE);
}

Functions

Namesort descending Description
merci_choice_js Menu callback for AHAH additions.
merci_taxonomy_json @todo Please document this function.