jQuery.ajax or jQuery.post with json datatype is broken after upgrade to jquery
1.5.1
-------------------------------------------------------------------------------------
Key: OFBIZ-4223
URL: https://issues.apache.org/jira/browse/OFBIZ-4223
Project: OFBiz
Issue Type: Bug
Components: framework
Affects Versions: SVN trunk
Environment: jQuery 1.5.1
Reporter: Leon
Priority: Minor
After the jquery library is upgraded from 1.4 to 1.5, the jQuery.post function
fails while the response data type is 'json'. In firefox the error message is
"Invalid Label" and in IE the error message is "no ending ;"。
After some googling, I figure out the reason that is the uncompatible issue
between jquery.validate plugin 1.7 and the jquery 1.5.1. Plese refer the links
below for details:
http://bugs.jquery.com/ticket/8064
http://bugs.jquery.com/ticket/8084#comment:16
and the note in http://bassistance.de/jquery-plugins/jquery-plugin-validation/
There's a compatible version of jquery.validate in the GitHub repository, but
it's not the official release. I wonder whether we should patch the
jquery.validate with this temporary solution or not.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira