diff --git a/panopoly_magic.module b/panopoly_magic.module index 23486af..c539adf 100644 --- a/panopoly_magic.module +++ b/panopoly_magic.module @@ -296,10 +296,10 @@ function panopoly_magic_form_alter(&$form, &$form_state, $form_id) { // Autosubmit the form ctools_add_js('auto-submit'); - $form['#attributes']['class'][] = 'ctools-auto-submit-full-form'; + $form['#attributes']['class'] = 'ctools-auto-submit-full-form'; } } - + /** * Globally improve the buttons for the Chaos Tools Content Type Settings Forms */