Skip to content

Commit

Permalink
add wildcard match for ctools_node edit forms
Browse files Browse the repository at this point in the history
  • Loading branch information
brantwynn committed May 17, 2015
1 parent a66b8cc commit eb012e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/panels_preview.edit.form_alter.inc
Expand Up @@ -255,7 +255,7 @@ function panels_preview_form_alter(&$form, &$form_state, $form_id) {

drupal_alter('panels_preview_forms_to_improve', $forms_to_improve);

if (in_array($form_id, $forms_to_improve)) {
if (in_array($form_id, $forms_to_improve) || fnmatch('ctools_node_*_edit_form', $form_id)) {
// Grab child elements and create the fieldset.
$children = element_children($form);
if (count($children) > 1) {
Expand Down

0 comments on commit eb012e7

Please sign in to comment.