#798292 by casey, David_Rothstein: Fixed Overlay redirect to list of content types instead of list of fields after field is added.
parent
ce19c67110
commit
65ae6eb0e1
|
@ -1395,12 +1395,12 @@ function field_ui_field_edit_form_submit($form, &$form_state) {
|
|||
* Helper functions to handle multipage redirects.
|
||||
*/
|
||||
function field_ui_get_destinations($destinations) {
|
||||
$query = array();
|
||||
$path = array_shift($destinations);
|
||||
$options = drupal_parse_url($path);
|
||||
if ($destinations) {
|
||||
$query['destinations'] = $destinations;
|
||||
$options['query']['destinations'] = $destinations;
|
||||
}
|
||||
return array($path, array('query' => $query));
|
||||
return array($options['path'], $options);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue