Commit f2f5424c authored by Dries's avatar Dries
Browse files

- Patch #609108 by sivaji: menu admin page should say something when you save.

parent 60515aa7
......@@ -181,6 +181,7 @@ function menu_overview_form_submit($form, &$form_state) {
$item['customized'] = 1;
menu_link_save($item);
}
drupal_set_message(t('Your configuration has been saved.'));
}
/**
......@@ -403,6 +404,9 @@ function menu_edit_item_submit($form, &$form_state) {
if (!menu_link_save($item)) {
drupal_set_message(t('There was an error saving the menu link.'), 'error');
}
else {
drupal_set_message(t('Your configuration has been saved.'));
}
$form_state['redirect'] = 'admin/structure/menu/manage/' . $item['menu_name'];
}
......@@ -605,6 +609,7 @@ function menu_edit_menu_submit($form, &$form_state) {
menu_link_save($link);
}
}
drupal_set_message(t('Your configuration has been saved.'));
$form_state['redirect'] = $path . $menu['menu_name'];
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment