[richfaces-issues] [JBoss JIRA] Created: (RF-11375) jQuery script file broken in FF6 + FF7

Heinrich Freiherr von Schwerin (JIRA) jira-events at lists.jboss.org
Mon Sep 5 05:19:26 EDT 2011


jQuery script file broken in FF6 + FF7
--------------------------------------

                 Key: RF-11375
                 URL: https://issues.jboss.org/browse/RF-11375
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: base functionality 
    Affects Versions: 4.0.0.Final
         Environment: Windows 7 FF6 + FF7
            Reporter: Heinrich Freiherr von Schwerin
            Priority: Blocker


Ajax requets are not working in Firefox 6 and Firefox 7.

An error appears while laoding the jquery.js from <application>/javax.faces.resources/jQuery.js.html


{noformat} unterminated string literal .. "*": "* jquery.js.html (Line 2199){noformat} 

This is how the line looks in IE and FF 3-5 : (Affected Line in jquery.js 6371)

{code:JavaScript} 
	ajaxSettings: {
		url: ajaxLocation,
		isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ),
		global: true,
		type: "GET",
		contentType: "application/x-www-form-urlencoded",
		processData: true,
		async: true,
		/*
		timeout: 0,
		data: null,
		dataType: null,
		username: null,
		password: null,
		cache: null,
		traditional: false,
		headers: {},
		crossDomain: null,
		*/

		accepts: {
			xml: "application/xml, text/xml",
			html: "text/html",
			text: "text/plain",
			json: "application/json, text/javascript",
			"*": "*/*"
		},

		contents: {
			xml: /xml/,
			html: /html/,
			json: /json/
		},
{code} 

And this how it looks in FF6+
{code:JavaScript}
	ajaxSettings: {
		url: ajaxLocation,
		isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ),
		global: true,
		type: "GET",
		contentType: "application/x-www-form-urlencoded",
		processData: true,
		async: true,
		/*
		timeout: 0,
		data: null,
		dataType: null,
		username: null,
		password: null,
		cache: null,
		traditional: false,
		headers: {},
		crossDomain: null,
		*/

		accepts: {
			xml: "application/xml,text/xml",
			html: "text/html",
			text: "text/plain",
			json: "application/json,text/javascript",
			"*": "*
/**/*;q=0.01" : "" ) :
			s.accepts[ "*" ];

{code} 




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list