Attached a patch on ajaxsubmit.js that does the following:

  • remove trailing ',' (comma) in options array, which breaks in older browsers like IE6
  • update attribute selector: '[@name=X' (which is deprecated) has been changed to '[name="X"'
  • also added form element error highlighting on sub elements; i.e., if you have a date form element consisting of three text fields, all three text field are highlighted if a form set error is applied on the date just like how it works if it wasn't ajax submitted.

Hope this patch is useful to you.
I'm using this patch on a deployed site w/o experiencing any issues.

CommentFileSizeAuthor
ajaxsubmitfix.patch731 bytesronnbot
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nedjo’s picture

Status: Active » Reviewed & tested by the community

Thanks! I'll apply this soon.

nedjo’s picture

Status: Reviewed & tested by the community » Fixed

Some of this was already applied, I applied the rest.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.