Commit 65ae6eb0 authored by webchick's avatar webchick

#798292 by casey, David_Rothstein: Fixed Overlay redirect to list of content...

#798292 by casey, David_Rothstein: Fixed Overlay redirect to list of content types instead of list of fields after field is added.
parent ce19c671
......@@ -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);
}
/**
......
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