Skip to content
Snippets Groups Projects
Commit 769ab39e authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2307629 by olli | jhodgdon: Fixed Views UI "Add" dialog - Submit pops...

Issue #2307629 by olli | jhodgdon: Fixed Views UI "Add" dialog - Submit pops you back to same dialog.
parent e7e76661
No related branches found
No related tags found
No related merge requests found
......@@ -147,6 +147,7 @@ public function getForm(ViewStorageInterface $view, $display_id, $js) {
// Build the new form state for the next form in the stack.
$reflection = new \ReflectionClass($view::$forms[$top[1]]);
$form_state = $reflection->newInstanceArgs(array_slice($top, 3, 2))->getFormState($view, $top[2], $form_state['ajax']);
$form_class = get_class($form_state['build_info']['callback_object']);
$form_state['input'] = array();
$form_path = views_ui_build_form_path($form_state);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment