Skip to content
Snippets Groups Projects
Commit 55bdbb31 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

Issue #1847294 by dawehner: Make the apply button in views primary.

parent 69a5eefd
Branches
Tags
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
......@@ -251,6 +251,7 @@ public function getStandardButtons(&$form, &$form_state, $form_id, $name = NULL,
// which display the user wants to update, views_ui_standard_submit will
// take care of running the regular submit handler as appropriate.
'#submit' => array(array($this, 'standardSubmit')),
'#button_type' => 'primary',
);
// Form API button click detection requires the button's #value to be the
// same between the form build of the initial page request, and the initial
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment