Issue #1967112 by nod_: Fixed HTML 5 validation breaks the cancel button in Views UI dialogs.

8.0.x
webchick 2013-04-11 23:09:52 -07:00
parent 0c1777a91d
commit 4d02ee3c8c
1 changed files with 1 additions and 0 deletions

View File

@ -322,6 +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' => ''),
);
// Compatibility, to be removed later: // TODO: When is "later"?