Project:Ajax submit
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

AttachmentSize
ajaxsubmitfix.patch731 bytes

Comments

#1

Status:active» reviewed & tested by the community

Thanks! I'll apply this soon.

#2

Status:reviewed & tested by the community» fixed

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

#3

Status:fixed» closed (fixed)

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