Skip to content
Snippets Groups Projects
Commit 65ae6eb0 authored by Angie Byron's avatar Angie Byron
Browse files

#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
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -1395,12 +1395,12 @@ function field_ui_field_edit_form_submit($form, &$form_state) { ...@@ -1395,12 +1395,12 @@ function field_ui_field_edit_form_submit($form, &$form_state) {
* Helper functions to handle multipage redirects. * Helper functions to handle multipage redirects.
*/ */
function field_ui_get_destinations($destinations) { function field_ui_get_destinations($destinations) {
$query = array();
$path = array_shift($destinations); $path = array_shift($destinations);
$options = drupal_parse_url($path);
if ($destinations) { if ($destinations) {
$query['destinations'] = $destinations; $options['query']['destinations'] = $destinations;
} }
return array($path, array('query' => $query)); return array($options['path'], $options);
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment