hi,

thanks a lot for the module

i would suggest to change the way you affect the 'ajax-form' class to the form because it deletes all classes previously set

this would mean changing from
$form['#attributes']['class'] = 'ajax-form';
to
$form['#attributes']['class'] .= ' ajax-form';

Comments

klaharris’s picture

A workaround is to use the pre_render attribute to add the class:

$form['#pre_render'][] = 'your_fix';

function your_fix($form) {
  $form['#attributes']['class'].= ' your_class';
  return $form;
}
brendoncrawford’s picture

Category: support » bug
Status: Active » Needs work

awaiting a patch for this