Needs work
Project:
Ajax
Version:
6.x-1.14
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 May 2011 at 14:16 UTC
Updated:
21 Jan 2012 at 08:37 UTC
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
Comment #1
klaharris commentedA workaround is to use the pre_render attribute to add the class:
Comment #2
brendoncrawford commentedawaiting a patch for this