Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
4d02ee3c
Commit
4d02ee3c
authored
Apr 11, 2013
by
webchick
Browse files
Issue
#1967112
by nod_: Fixed HTML 5 validation breaks the cancel button in Views UI dialogs.
parent
0c1777a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/views/views_ui/lib/Drupal/views_ui/ViewUI.php
View file @
4d02ee3c
...
...
@@ -322,6 +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'
=>
''
),
);
// Compatibility, to be removed later: // TODO: When is "later"?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment