function rooms_booking_select_unit_callback in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7
AJAX callback for unit and unit options form elements.
See also
1 string reference to 'rooms_booking_select_unit_callback'
- rooms_booking_edit_form in modules/
rooms_booking/ rooms_booking.admin.inc - Form callback: create or edit a booking.
File
- modules/
rooms_booking/ rooms_booking.admin.inc, line 998 - Rooms editing UI.
Code
function rooms_booking_select_unit_callback(&$form, $form_state) {
return $form['availability_fieldset']['unit_fieldset']['options_fieldset'];
}