Issue #1967112 followup by David_Rothstein, dawehner: HTML 5 validation breaks the cancel button in Views UI dialogs.

8.0.x
Alex Pott 2013-06-13 23:32:39 +01:00
parent d230ea6813
commit fc7897f36b
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ class ViewUI implements ViewStorageInterface {
'#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"?