Skip to content
Snippets Groups Projects
Commit e0aae388 authored by Dieter Holvoet's avatar Dieter Holvoet Committed by Ivan Doroshenko
Browse files

Issue #3298882 by Matroskeen: Fieldset summary does not work on the node form

parent be9d3801
No related branches found
No related tags found
1 merge request!68Issue #3298741: Fix the issues reported by phpcs
...@@ -28,9 +28,7 @@ function rh_node_form_node_type_form_alter(&$form, $form_state) { ...@@ -28,9 +28,7 @@ function rh_node_form_node_type_form_alter(&$form, $form_state) {
function rh_node_form_node_form_alter(&$form, $form_state) { function rh_node_form_node_form_alter(&$form, $form_state) {
// Add the Rabbit Hole form, and add an extra javascript file that's needed // Add the Rabbit Hole form, and add an extra javascript file that's needed
// for the fieldset summary. // for the fieldset summary.
// Add a custom submit function. This is used to disable the redirect to $form['#attached']['library'][] = 'rh_node/node-form';
// node/123 if Rabbit Hole is enabled and the user doesn't have the bypass
// rh_node permission.
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment