Commit fc7897f3 authored by alexpott's avatar alexpott
Browse files

Issue #1967112 followup by David_Rothstein, dawehner: HTML 5 validation breaks...

Issue #1967112 followup by David_Rothstein, dawehner: HTML 5 validation breaks the cancel button in Views UI dialogs.
parent d230ea68
......@@ -322,7 +322,7 @@ public function getStandardButtons(&$form, &$form_state, $form_id, $name = NULL)
'#value' => empty($form_state['ok_button']) ? t('Cancel') : t('Ok'),
'#submit' => array($cancel_submit),
'#validate' => array(),
'#attributes' => array('formnovalidate' => ''),
'#limit_validation_errors' => array(),
);
// Compatibility, to be removed later: // TODO: When is "later"?
......
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