Autocomplete form now working, todo is submit handler
This commit is contained in:
@@ -597,6 +597,7 @@ function booking_menu() {
|
||||
//'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
|
||||
//use this for testing the autocomplete fields
|
||||
$items['admin/booking/rooms/test/%/assign'] = array(
|
||||
'title' => 'Assign Rooms',
|
||||
'description' => 'Assign attendees to rooms',
|
||||
@@ -605,6 +606,14 @@ function booking_menu() {
|
||||
'access arguments' => array('edit room allocations'),
|
||||
//'type' => MENU_NORMAL_ITEM,
|
||||
);
|
||||
|
||||
//callback for autocomplete lookup
|
||||
$items['booking/rooms/autocomplete'] = array(
|
||||
'title' => 'Autocomplete for room allocations',
|
||||
'page callback' => '_booking_rooms_name_autocomplete',
|
||||
'access arguments' => array('edit room allocations'),
|
||||
'type' => MENU_CALLBACK
|
||||
);
|
||||
|
||||
$items['admin/booking/rooms/%/view'] = array(
|
||||
'title' => 'View Allocated Rooms',
|
||||
|
Reference in New Issue
Block a user