Bugfixes for updating studygroups

This commit is contained in:
Nathan Coad
2014-05-26 23:33:42 +10:00
parent 7e464bca59
commit ad666a34ee
3 changed files with 117 additions and 92 deletions

View File

@@ -365,13 +365,13 @@ function booking_menu() {
//'type' => MENU_NORMAL_ITEM,
);
$items['admin/booking/studygroups/selectleaders'] = array(
$items['admin/booking/studygroups/%/selectleaders'] = array(
'title' => 'Select Study Group Leaders',
'description' => 'Define attendees to lead or help study groups',
'page callback' => 'drupal_get_form',
'page arguments' => array('booking_available_leadhelp_select_form'),
'page arguments' => array('booking_available_leadhelp_select_form', 3),
'access arguments' => array('edit study groups'),
'type' => MENU_LOCAL_ACTION,
//'type' => MENU_LOCAL_ACTION,
);
$items['admin/booking/studygroups/calculate'] = array(